我的應用程序是3種語言,我想打開應用程序商店按鈕點擊和鏈接是我的另一個應用程序。但是當我發送鏈接到應用程序商店時,它總是以英文描述開放美國市場。當我使用瀏覽器時它正確。我去哪裏錯了。在應用程序商店中打開itune鏈接?
-(IBAction)Button_us_itune:(id)sender{
NSString *ituneLink [email protected]"https://itunes.apple.com/us/app/My_application/AppID?mt=8&ign-mpt=uo%3D4";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:ituneLink]];
}
-(IBAction)Button_fr_itune:(id)sender{
NSString *ituneLink [email protected]"https://itunes.apple.com/fr/app/My_application/AppID?mt=8&ign-mpt=uo%3D4";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:ituneLink]];
}
-(IBAction)Button_du_itune:(id)sender{
NSString *ituneLink [email protected]"https://itunes.apple.com/de/app/My_application/AppID?mt=8&ign-mpt=uo%3D4";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:ituneLink]];
}
它將打開您從iTunes設置帳戶設置的國家的應用商店鏈接。 – Esha 2014-08-04 06:31:31