Created
December 2, 2011 01:58
-
-
Save huobazi/1421368 to your computer and use it in GitHub Desktop.
在iOS5内打开系统设置页面
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (IBAction)btnSystemSettingTouchUpInside:(id)sender { | |
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"prefs:root=LOCATION_SERVICES"] ]; | |
} | |
- (IBAction)btnTwitterSettingTouchUpInside:(id)sender { | |
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"prefs:root=TWITTER"] ]; | |
} | |
- (IBAction)btnBlueToothSettingTouchUpInside:(id)sender { | |
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"prefs:root=General&path=BlueTooth"] ]; | |
} | |
- (IBAction)btnMyAppSettingTouchUpInside:(id)sender { | |
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:@"prefs:root=Apps&path=MyAppDisplayName"] ]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment