I have used showManageSubscriptions function to show the subscription sheet with subscription options within the application but there is a close button in the sheet in which action is not detected, the button is clickable though.
@available(iOS 15.0.0, *)
func showManageSubscription(_ windowScene: UIWindowScene) async {
do {
try await StoreKit.AppStore.showManageSubscriptions(in: windowScene)
print("Sheet is closed")
} catch {
print("Sheet can not be opened")
}
}
Please check Developer Documentation
Post
Replies
Boosts
Views
Activity
I have used showManageSubscriptions function to show the subscription sheet with subscription options within the application but when a subscription is not purchased or not active the sheet is not open.
@available(iOS 15.0.0, *)
func showManageSubscription(_ windowScene: UIWindowScene) async {
do {
try await StoreKit.AppStore.showManageSubscriptions(in: windowScene)
} catch {
print("Sheet can not be opened")
}
}
Is there any way to open the sheet in this case even subscription is not purchased or not active? So users can at least buy again.
I want Apple's default subscription sheet like this to buy a subscription.