I added share extension to my iOS app project on XCode. but when I choose one photo, and choose my extension to share it, the didSelectPost() function of my ShareViewController is never called! for testing that, I juste put a breakpoint on it and added somme log print.
For information , I have one ShareViewController class created by XCode and the main storyboard and info.plist.
Thanks

Taken from this Medium article https://medium.com/macoclock/ios-share-extension-swift-5-1-1606263746b
If you need to debug the ShareViewController you need to:
This fixed it for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With