Posted By

saturngod on 08/07/11


Tagged


Versions (?)

Open Link with safari


 / Published in: iPhone
 

  1. -(BOOL) webView:(UIWebView *)inWeb shouldStartLoadWithRequest:(NSURLRequest *)inRequest navigationType:(UIWebViewNavigationType)inType {
  2. if ( inType == UIWebViewNavigationTypeLinkClicked ) {
  3. [[UIApplication sharedApplication] openURL:[inRequest URL]];
  4. return NO;
  5. }
  6.  
  7. return YES;
  8. }

Report this snippet  

You need to login to post a comment.