【问题标题】:StoreKit2 showManageSubscriptions(in:) close button does not workStoreKit2 showManageSubscriptions(in:) 关闭按钮不起作用
【发布时间】:2022-06-15 10:45:38
【问题描述】:

我使用新的 StoreKit2 方法来显示 AppStore 订阅管理窗口。由于某种原因,关闭按钮不起作用。并且窗口的打开伴随着一个奇怪的动画——模态显示应该捕获我当前的窗口,但它捕获了一个奇怪的灰色区域。 这是一个空项目,只有一个 ViewController。 Xcode 13.3.1

@objc func testFunc() {

    if let window = UIApplication.shared.connectedScenes.first {
        Task {
            do {
                try await AppStore.showManageSubscriptions(in: window as! UIWindowScene)
            } catch {
                print(error)
            }
        }
    }
}

showManageSubscriptions(in:) close button

Strange grey area

【问题讨论】:

    标签: ios swift app-store storekit


    【解决方案1】:

    根据我们的测试结果,iOS 15.3.1 中显示ManageSubscriptions(in:) 的关闭按钮可能存在错误。使用此系统版本时,用户只能向下滑动关闭页面。在iOS 15.3.2中修复了Bug

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-11-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-06
      • 2015-02-12
      相关资源
      最近更新 更多