[ad_1]
I’ve used showManageSubscriptions operate present subscription sheet with subscription choices throughout the utility however there’s a shut button within the sheet which motion shouldn’t be detected, button is clickable although.
@out there(iOS 15.0.0, *)
func showManageSubscription(_ windowScene: UIWindowScene) async {
do {
strive await StoreKit.AppStore.showManageSubscriptions(in: windowScene)
print("Sheet is closed")
} catch {
print("Sheet cannot be opened")
}
}
Please assist me to get the shut button motion.
Reference hyperlink: https://developer.apple.com/documentation/storekit/appstore/3803198-showmanagesubscriptions#parameters
[ad_2]

