English 中文(简体)
交易或中断?
原标题:Exiting or interrupted?

是否有办法区分用户何时由于他/她 press住了家子或收到电话而退出信? 如用户回答电话,则在3.x中填写。

如果用户被电话或任何其他电话活动打断,但用户不能通过把电灯带出,我想拯救我的 app。

任何建议?

最佳回答

在不同情况下采用以下应用代表方法:

  • application WillTerminate - used pressed “home” button and application is about to out

  • application WillResignive -user got in come calls or smsert. 如果他决定接受这一呼吁,申请即告终。

  • applicationDidBecomeActive -user在新电话中被忽视

  • applicationDidEnterBackground -user pressed “home” button and application go to background way - applicable for prisons that support multitasking

因此,在代表中,似乎需要使用<条码>应用WillResignive:方法,对你的两种情况加以区分。

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签