问题
Is there any method to get to Manage Subscriptions in settings by clicking a button from my app??
回答1:
There is no way to access the settings app from inside a sandboxed app -- i.e. any apps but Apple's -- without using a private API.
回答2:
you can open Subscription section of AppStore by opening this link in iphone/ipad safari:
https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions
or simply use this code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions"]];
Doing this will first open safari, then will redirect it to Appstore subscriptions.
EDIT:
Replace https
with itms-apps
will open subscriptions directly
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/manageSubscriptions"]];
来源:https://stackoverflow.com/questions/6707377/how-to-get-to-manage-subscriptions-from-my-app