簡體   English   中英

Objective-C / iOS共享文檔以上傳到我的應用中

[英]Objective-C / iOS share documents to upload in my app

我正在做類似Dropbox的應用,我需要知道這兩張照片之間的區別:

我想將所選文件上傳到服務器中。

我要我的應用程序出現在這里:

照片1

但它出現在這里:

在此處輸入圖片說明

如何與第一張照片中的其他應用程序一起顯示我的應用程序? (PruebaMenu是我的應用程序)

編輯

這是我的文檔類型: 照片3

EDIT2 Info.plist代碼:

<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeIconFiles</key>
        <array>
            <string>approv</string>
            <string>logoapp</string>
        </array>
        <key>CFBundleTypeName</key>
        <string>Prueba</string>
        <key>CFBundleTypeRole</key>
        <string>Viewer</string>
        <key>LSHandlerRank</key>
        <string>Owner</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>com.adobe.pdf</string>
            <string>public.image</string>
            <string>public.video</string>
        </array>
    </dict>
</array>

為了使您的應用程序顯示在第一張照片中,您的應用程序必須注冊其支持的文件類型。 應用程序的plist必須包含CFBundleDocumentTypes鍵,並且在此數組中聲明應用程序支持的不同文件類型。 請參閱此Apple文檔以獲取更多信息: https : //developer.apple.com/library/ios/documentation/filemanagement/conceptual/documentinteraction_topicsforios/Articles/RegisteringtheFileTypesYourAppSupports.html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM