Posted By

peruggia on 11/02/11


Tagged

url iphone ipod iPad ios


Versions (?)

Open URL


 / Published in: Objective C
 

  1. NSString *textURL = @"http://www.yoururl.com/";
  2. NSURL *cleanURL = [NSURL URLWithString:[NSString stringWithFormat:@"%@", textURL]];
  3. [[UIApplication sharedApplication] openURL:cleanURL];

Report this snippet  

You need to login to post a comment.