开发者

iPhone home button pressed

开发者 https://www.devze.com 2023-03-18 02:11 出处:网络
In my app has a button that opens开发者_如何学JAVA the browser and my application was for background. I just want to close the app when the home button is clicked.Not sure if I understand your questio

In my app has a button that opens开发者_如何学JAVA the browser and my application was for background. I just want to close the app when the home button is clicked.


Not sure if I understand your question correctly, but if you want your app to quit (rather than going to the background), you'll have to set the UIApplicationExitsOnSuspend key in your Info.plist to YES.


This has been asked and answered many times. I just answered it a few hours ago:

to load the data when application starts in ipad

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号