在 iOS 14 中,Xcode 显示警告:
requestReview()' 在 iOS 14.0 中被弃用
我正在使用 StoreKit 在我的应用中自动询问评论。
func requestReview() {
guard shouldRequestReview else {return}
SKStoreReviewController.requestReview()
lastRequest = Date()
}
Run Code Online (Sandbox Code Playgroud)
如何摆脱那个警告?
我正在创建线性百分比指标。我想在它周围实现圆形边框。
预期结果对比 实际结果
LinearPercentIndicator(
linearStrokeCap: LinearStrokeCap.roundAll,
progressColor: Colors.blue[400],
backgroundColor: Colors.grey[300],
),
Run Code Online (Sandbox Code Playgroud)
有什么解决方案可以使用 barRadius 作为 LinearStrokeCap 吗?
uikit uicollectionview uicollectionreusableview swift uicollectionviewflowlayout