APP间的跳转

2017-10-22  本文已影响13人  番薯大佬

跳转到系统设置页面

NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
if ([[UIApplication sharedApplication] canOpenURL:url])
{
      self.isSuccessSetNet = YES;
       NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
      [[UIApplication sharedApplication] openURL:url];
}
上一篇 下一篇

猜你喜欢

热点阅读