I want to share files to my Swift app via UIActivityViewController. I tried:
UIFileSharingEnabled
and
<key>NSExtension</key>
<dict>
<key>NSExtensionAttributes</key>
<dict>
<key>NSExtensionActivationRule</key>
<dict>
<key>NSExtensionActivationSupportsImageWithMaxCount</key>
<integer>1</integer>
</dict>
</dict>
<key>NSExtensionMainStoryboard</key>
<string>MainInterface</string>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.ui-services</string>
</dict>
when user tap to share any file from "My Files" app I want to show my app under UIActivityViewController and when user tap on my App i want to open that document in my App.