• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

iOS8 Share plist code

Explorer ,
Dec 20, 2014 Dec 20, 2014

Copy link to clipboard

Copied

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>

TOPICS
Development

Views

707

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines