關(guān)于iOS App跳轉(zhuǎn)App Store
在需要的地方調(diào)用函數(shù)
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"這里是你app在app store的鏈接"]];-
如何獲取你的app在app store的鏈接
- 跳轉(zhuǎn)到app store是下載頁面還是評論頁面(根據(jù)項目需求app需要跳轉(zhuǎn)到app store評分)
下載頁面格式
然后將 https:// 替換為 itms:// 或者 itms-apps://
https://itunes.apple.com/cn/app/yue-tanyt/id%@?mt=8
評論頁面格式
https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=%@&pageNumber=0&sortOrdering=2&type=Purple+Software&mt=8