2015-10-08 74 views

回答

3

我想你想:

[[NSWorkspace sharedWorkspace] openURL:url]; 
+2

我愛你........謝謝 –

2

對於IOS

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:urlString]]; 

對於OSX

[[NSWorkspace sharedWorkspace] openURL:url]; 
相關問題