iOS UIAlertView button to go to Setting App

后端 未结 5 2305
野性不改
野性不改 2020-12-02 05:45

Is there a way to have the button of a UIAlertView go to the Settings App for the specific App calling it?

Thanks

5条回答
  •  星月不相逢
    2020-12-02 06:15

    In ios5 and above...

    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"prefs:root=General"]];
    

提交回复
热议问题