2 在諸如Tiny Wings之類的應用程序中,它會檢測到新的SMS或電話併爲您暫停遊戲。我如何在我的應用程序中檢測到這一點?在應用程序中檢測通知 來源 2011-06-28 Chase +0 的[檢測來電]可能重複(http://stackoverflow.com/questions/1742223/detect-incoming-phone -calls) –
1 看看在UIApplication委託方法 - applicationWillResignActive: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIApplicationDelegate_Protocol/Reference/Reference.html%23//apple_ref/occ/intfm/UIApplicationDelegate/applicationWillResignActive: 來源 2011-06-29 00:02:50
的[檢測來電]可能重複(http://stackoverflow.com/questions/1742223/detect-incoming-phone -calls) –