NSURL
*url = [
NSURL
URLWithString
:
UIApplicationOpenSettingsURLString
];
if ([[ UIApplication sharedApplication ] canOpenURL :url]) {
[[ UIApplication sharedApplication ] openURL :url];
if ([[ UIApplication sharedApplication ] canOpenURL :url]) {
[[ UIApplication sharedApplication ] openURL :url];
}