我正在尝试展示一个SKStoreProductViewController
没有动画的实例。
来自视图控制器 StoreKit 的代码片段来自:
Objective-C
SKStoreProductViewController *storeProductVC = [[SKStoreProductViewController alloc] init];
[storeProductVC loadProductWithParameters: <PARAMETERS> completionBlock: nil];
[self presentViewController: storeProductVC animated: NO completion: nil];
迅速
let storeProductVC = SKStoreProductViewController()
storeProductVC.loadProduct(withParameters: <PARAMETERS>, completionBlock: nil)
self.present(storeProductVC, animated: false, completion: nil)
NO
为国旗传球animated
没有用。StoreKit 视图控制器仍然显示动画。我知道 Apple 框架的主题是允许最少的定制,但我希望情况并非如此。