open()
Presents a continuation sheet that enables people to choose whether to open your app’s link to an external website for account creation or management.
Declaration
static func open() async throwsDiscussion
Call this method in response to deliberate user interaction, for example, tapping a button. Call canOpen to determine whether to display a button or other user-interface control. If canOpen is false, this method always throws a StoreKitError instance.