I have added a share extension for my app say SAMPLE(already exists on the app store), called lets say SAMPLESHARE.
Whenever a user, say takes a picture and tries to share it, I want them to go through a view controller of an Open In functionality, and not get the Post dialogue from Apple, basically bypassing it. So I am trying to share the picture between the share extension and my app, by creating an app group that is shared between the app and plugin and then passing the file paths to the openURL of the application delegate of my app.
I have basically used some Creative commons license code off the internet(reputed site), which claims to have passed the app store review process.
There are two workarounds in the code, one is to call the OpenURL from the share extension(which from scouring Stack Overflow seems like is still not possible normally without workarounds on iOS 8.3 and above) and the second is to hide the post dialogue and the keyboard that apple provides by default when anyone clicks on share. This works.
I have two questions
1.) Will this change be accepted on the app store? Basically how are apps like facebook/whatsapp doing it and they are being accepted?2.) Whenever I run this, it says `NSExtensionActivationRule` if set to `TRUEPREDICATE` will be rejected in review, what should the value be? Full details with code over on Stackoverflow with bounty attached.