In my app has a button that opens 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.
UIApplicationExitsOnSuspend
YES
1.4m articles
1.4m replys
5 comments
57.0k users