Possible Duplicate:
quit app in iOS4
hi i am beginner in iphone developement. i am working开发者_StackOverflow中文版 on a iphone app copatible for iphone4. i am showing a alert view and on selecting a yes navigating to brouwser.its ok but my application going in background.but i want it to be terminate and shuld be relaunch on clicking on app icon.
if (alertView.tag==222) {
        if (buttonIndex==0) {
            [[UIApplication sharedApplication] openURL: [NSURL URLWithString:@"http://itunes.apple.com/"]];
        }
}
also it is goingin bground when i am clicking on home button. i want app should be terminated from background also.
Set the Application does not run in background in your info.plist to YES
Add UIApplicationExitsOnSuspend / Application does not run in background to your Info.plist.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论