Skip to main content
Known Participant
December 20, 2014
Question

iOS8 Share plist code

  • December 20, 2014
  • 0 replies
  • 753 views

Hi,

I came across this Xamarin example that let other apps send content to your iOS 8 based app through the system wide share menu.

http://developer.xamarin.com/samples/Share/

How to add the code to the Air app.xml? What part to do I need to extract from it?

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

    <key>CFBundleDevelopmentRegion</key>

    <string>en</string>

    <key>CFBundleDisplayName</key>

    <string>ShareExtension</string>

    <key>CFBundleExecutable</key>

    <string>ShareExtension</string>

    <key>CFBundleIdentifier</key>

    <string>com.your-company.Share.ShareExtension</string>

    <key>CFBundleInfoDictionaryVersion</key>

    <string>6.0</string>

    <key>CFBundleName</key>

    <string>com.your-company.ShareExtension</string>

    <key>CFBundlePackageType</key>

    <string>XPC!</string>

    <key>CFBundleShortVersionString</key>

    <string>1.0</string>

    <key>CFBundleSignature</key>

    <string>????</string>

    <key>CFBundleVersion</key>

    <string>1</string>

    <key>NSExtension</key>

    <dict>

        <key>NSExtensionAttributes</key>

        <dict>

            <key>NSExtensionPointName</key>

            <string>com.apple.share-services</string>

            <key>NSExtensionPointVersion</key>

            <string>1.0</string>

            <key>NSExtensionActivationRule</key>

            <dict>

                <key>NSExtensionActivationSupportsFileWithMaxCount</key>

                <integer>0</integer>

                <key>NSExtensionActivationSupportsImageWithMaxCount</key>

                <integer>1</integer>

                <key>NSExtensionActivationSupportsMovieWithMaxCount</key>

                <integer>0</integer>

                <key>NSExtensionActivationSupportsText</key>

                <false/>

                <key>NSExtensionActivationSupportsWebURLWithMaxCount</key>

                <integer>1</integer>

            </dict>

        </dict>

        <key>NSExtensionMainStoryboard</key>

        <string>MainInterface</string>

        <key>NSExtensionPointIdentifier</key>

        <string>com.apple.share-services</string>

    </dict>

</dict>

</plist>

This topic has been closed for replies.