国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > iOS > 正文

Xcode 8.3 (iOS 10.3)新增應用內評價API 之 SKStoreReviewController

2019-11-09 15:37:02
字體:
來源:轉載
供稿:網友

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


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 永安市| 柳江县| 集贤县| 佛冈县| 通化市| 芦溪县| 黄骅市| 静安区| 诸城市| 北宁市| 三亚市| 册亨县| 宜都市| 涞水县| 铁岭县| 临邑县| 黔江区| 德钦县| 麻江县| 磐安县| 虞城县| 临邑县| 留坝县| 长海县| 楚雄市| 马鞍山市| 新昌县| 兴安盟| 连平县| 通化县| 石首市| 沅江市| 宿松县| 南岸区| 星座| 房山区| 衡阳县| 兖州市| 泰安市| 观塘区| 临澧县|