Xcode 8.3 (iOS 10.3)新增应用内评价API 之 SKStoreReviewController
来源:互联网 发布:新手怎样开淘宝店 编辑:程序博客网 时间:2024/05/29 19:48
Allow Users to Provide Ratings From Within Your App
在iOS 10.3之后,系统提供了一个SKStoreReviewController类,可以帮助在app内部实现评价。App实现评价的调用方式如下:
调用方式:
[SKStoreReviewController requestReview];
效果图
官方注解讨论
Although you should call this method when it makes sense in the user experience flow of your app, the actual display of a rating/review request view is governed by App Store policy. Because this method may or may not present an alert, it’s not appropriate to call it in response to a button tap or other user action.
Note
When you call this method while your app is still in development mode, a rating/review request view is always displayed so that you can test the user interface and experience. However, this method has no effect when you call it in an app that you distribute using TestFlight.
When you call this method in your shipping app and a rating/review request view is displayed, the system handles the entire process for you. In addition, you can continue to include a persistent link in the settings or configuration screens of your app that deep-links to your App Store product page. To automatically open a page on which users can write a review in the App Store, append the query parameter action=write-review to your product URL.
苹果官方API链接:
https://developer.apple.com/reference/storekit/skstorereviewcontroller/2851536-requestreview?language=objc
- Xcode 8.3 (iOS 10.3)新增应用内评价API 之 SKStoreReviewController
- iOS10.3的应用内评分SKStoreReviewController
- 【iOS】iOS10.3新增API:应用内评分
- ios之给予应用评价
- iOS 9之应用内搜索(CoreSpotlight)API
- iOS 9之应用内搜索(CoreSpotlight)API
- iOS 9之应用内搜索(CoreSpotlight)API
- iOS 9之应用内搜索(CoreSpotlight)API
- iOS 10.3 新特性 app评分 SKStoreReviewController swift
- ios开发之app内启动用户评价
- ios开发之app内启动用户评价
- ios开发之app内启动用户评价
- ios开发之app内启动用户评价
- ios开发之app内启动用户评价
- ios开发之app内启动用户评价
- ios开发之app内启动用户评价
- ios开发之app内起动用户评价 (转)
- Android新增API之AudioEffect中文API与应用实例
- maven插件解析机制
- lua安装
- [!] Invalid `Podfile` file: undefined method `inherit!' for #<Pod::Podfile:0x007ff9942f0c70>. Updati
- 使用PMD进行代码审查
- Kilim框架的Actor并发模型
- Xcode 8.3 (iOS 10.3)新增应用内评价API 之 SKStoreReviewController
- 学习感觉
- 【记录】2种随机迷宫生成算法的cpp实现
- 380. Insert Delete GetRandom O(1)
- Ogre嵌入Qt:布告板显示中文(补充)
- 资料_编程_大杂烩
- Java并发编程总结
- poj1703 Find them, Catch them
- 在eclipse上搭建mapreduce开发环境及运行wordcount