In one of my iOS App, I have to just launch the Safari App and not open some specific Url in Safari which can be achieved by this:
NSURL *url = [NSURL URLWithString:@"http://www.stackoverflow.com"];
if (![[UIApplication sharedApplication] openURL:url]) {
NSLog(@"%@%@",@"Failed to open url:",[url description]);
}
But I only need to launch safari App with last tab open (in the same state that I leave before entering that iOS App).
Any suggestion and help will be welcome. Thanks!