I'm writing an iOS Photo Editing extension for my app. The app has some premium features which can be unlocked through in-app purchases. I want to have the same features locked/unlocked in my extension if they are locked/unlocked in the app.
I figured that I can use shared user defaults to find out in the extension if features were purchased in the app. However, I can't let the user perform purchases inside the extension since it has a different app ID.
So I decided to prompt the user about the limitations due to not-yet-purchased features and point him/her to the app using a custom URL that will directly open the shop inside the main app. But this also does not work, because the [NSExtensionContext -openURL:completionHandler]
method seem to only work in Today extensions.
Do you have any suggestions on how to handle unlockable content in iOS 8 extensions—especially concerning user experience?