title: openURL not opening Safari
body: <p>I am trying to use an action sheet to open safari with a link. The variable is set correct and displays the link accordingly, but for some reason, Safari won't open and I cannot figure out why...</p>
  
  <p><strong>Here's the code:</strong></p>
  
  <pre><code>-(void)actionSheet {
      sheet = [[UIActionSheet alloc] initWithTitle:@"Options"
                                      delegate:self
                             cancelButtonTitle:@"Cancel"
                        destructiveButtonTitle:nil
                             otherButtonTitles:@"Open in Safari", nil];
  
      [sheet showInView:[UIApplication sharedApplication].keyWindow];
  }
  
  -(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex {
  
      if (buttonIndex != -1) {
          [[UIApplication sharedApplication] openURL:[NSURL URLWithString:self.url]];
      }
  }
  </code></pre>