iOS 應用評分
阿新 • • 發佈:2017-06-12
nsurl ati .com ppi dap type nbsp 展示 uia
為了提高應用的用戶體驗,經常需要邀請用戶對應用進行評分
應用評分無非就是跳轉到AppStore展示自己的應用,然後由用戶自己撰寫評論
如何跳轉到AppStore,並且展示自己的應用
方法1
![技術分享](/img/fz.gif)
NSString *appid = @"444934666"; NSString *str = [NSString stringWithFormat: @"itms-apps://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=%@", appid]; [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
![技術分享](/img/fz.gif)
方法2
1 NSString *str = [NSString stringWithFormat: 2 3 @"itms-apps://itunes.apple.com/cn/app/id%@?mt=8", appid]; 4 5 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]];
iOS 應用評分