I am setting up my iOS app to use the new "reader app" external link option, which means we can send people to our website to sign up instead of using in-app purchase.
Our app is written in Objective C.
The documentation from Apple says you need to use ExternalLinkAccount open() in order to spawn a modal window that warns users they are leaving your app. The problem is, I can't figure out how to use this and can't find any examples.
This is the documentation on how to set up a reader app with an external link: https://developer.apple.com/support/reader-apps/
This is the specific documentation for ExternalLinkAccount: https://developer.apple.com/documentation/storekit/externallinkaccount
I tried including StoreKit in my .m file but can't figure out how to use ExternalLinkAccount.