After clicking on UIView, I want to take the user of my application OUT of my application and another application to the application store. How to do it?
NSString * buyString = @ "http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=APP_ID&mt=8"; NSURL * url = [[NSURL alloc] initWithString: buyString]; [[UIApplication sharedApplication] openURL: url]; [url release];
Call
[[UIApplication sharedApplication] openURL:@"APP_STORE_URL_OF_EXISTING_APP"]
This will automatically close your application and launch the App Store app.