To open a link in Safari, all you have to do is the following. urlAddress is an NSString that you install where you need it to be installed. Alternatively, you can replace urlAddress with @"someString" .
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: urlAddress]];
Did you also UIActionSheetDelegate that your header file implements the UIActionSheetDelegate protocol?
Edit:
Try the following: "
-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex { if (buttonIndex != -1) { NSUrl *myURL = [NSURL URLWithString:self.url]; if (![[UIApplication sharedApplication] openURL:myURL]) { NSLog(@"%@%@",@"Failed to open url:",[myURL description]); } } }
source share