iOS跳转到系统设置界面
2017-03-03 本文已影响0人
GC风暴
OC版: 跳转到设置界面
```NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];;```
[[UIApplication sharedApplication] openURL:url];
swift版:跳转到设置界面
NSURL *url = NSURL(string: UIApplicationOpenSettingsURLString);
UIApplication.sharedApplication().openURL(url)