ios - How can I launch Safari from an iPhone app? -
This may be a clear question, but can you launch Safari Browser from an iPhone app?
should be:
NSURL * url = [NSURL URLWithString : @ "Http: //www.stackoverflow.com"]; If (! [[UIApplication shared application] open: url]) {NSLog (@ "% @% @", "url failed to open:", [URL description]); }
Comments
Post a Comment