App is not showing in the share menu of shared options in shared extension in iOS8

前端 未结 5 1108
滥情空心
滥情空心 2020-12-09 18:13

I\'m developing share extension for my app. Every thing is fine, but i\'m facing one main problem, my app is not in the share menu while sharing from photos app.

Bel

相关标签:
5条回答
  • 2020-12-09 18:38

    This is a bug in iOS. There is no workaround in the current version. File a bug report with Apple and hope that they fix it soon.

    0 讨论(0)
  • 2020-12-09 18:44

    Step by step flow for creating Share Extension

    Then just Run the application

    Check Out Plist count to be 1 (1 = allows attachment 1) for images

    Plist

    <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>
    

    Useful inks

    https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/ShareSheet.html

    http://www.appcoda.com/ios8-share-extension-swift/

    http://www.appcoda.com/tag/app-extension/

    Sharing data from Extension to Main App information link & How to create Today's extension?

    How to create widgets showing on home screen in iOS 10

    0 讨论(0)
  • 2020-12-09 18:49

    I encountered this issue on iOS 14 Beta, resolved by restarting the device.

    0 讨论(0)
  • 2020-12-09 18:52

    I faced the same issue. I found, that in the Build Settings (of extension target) field Wrapper Extension was empty, while it should be assigned as "appex". Assigning "appex" to Wrapper Extension solved my problem.

    0 讨论(0)
  • 2020-12-09 18:57

    For anyone having the same problem and not finding a solution, worth trying also to check "Deployment Target" of the extension.

    It can be different that the main app and is setup by default when the extension is created.

    In my case it was higher than what I had on my device.

    0 讨论(0)
提交回复
热议问题