国产探花免费观看_亚洲丰满少妇自慰呻吟_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


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 通渭县| 重庆市| 安达市| 紫阳县| 田东县| 凤庆县| 邵阳县| 谢通门县| 崇左市| 宁明县| 晋中市| 闸北区| 濮阳县| 瓮安县| 涿鹿县| 隆尧县| 吴忠市| 万州区| 兴国县| 独山县| 同仁县| 丹阳市| 宁蒗| 渑池县| 龙海市| 苍梧县| 旬阳县| 胶州市| 宜城市| 桃源县| 无锡市| 吉林省| 霸州市| 云林县| 阆中市| 罗城| 南安市| 旬邑县| 民勤县| 商南县| 樟树市|