17 lines
429 B
Plaintext
Raw Normal View History

2025-05-18 01:04:31 +08:00
#if defined (__cplusplus)
extern "C" {
#endif
void __OpenSystemSetting()
{
NSURL * url = [NSURL URLWithString: UIApplicationOpenSettingsURLString];
if ( [[UIApplication sharedApplication] canOpenURL: url] ) {
NSURL*url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
[[UIApplication sharedApplication] openURL:url];
}
}
#if defined (__cplusplus)
}
#endif