17 lines
429 B
Plaintext
17 lines
429 B
Plaintext
#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
|