How do I programmatically minimize an iPad/iPhone UIApplication?
Asked
Active
Viewed 1,146 times
1
-
Why do you want to "minimize"? If it's to open some other app, that will happen automatically when you call a URL handler... – Kendall Helmstetter Gelner Jun 30 '11 at 05:38
2 Answers
2
Actually there no such method for minimize iPhone app.
You can try with "exit(0)" to close the app.
Cheers.

Nishant B
- 2,897
- 1
- 18
- 25
-
That would probably result in your app not being accepted on the store, though. – EmilioPelaez Jun 30 '11 at 05:46
-
-
Hi, I think there will be no chance of Reject. Please review below app on App Store: "http://itunes.apple.com/us/app/knife-throw/id365462517?mt=8" .... Here, when you will play game and then Pause it then there is one option to Exit Game. So, it will close the game. So, apple may not reject. Hope it will be helpful to you. – Nishant B Jun 30 '11 at 06:04
0
You can't. You can only switch to another app. I don't think apple has a public API for doing this.

Enrico Susatyo
- 19,372
- 18
- 95
- 156