Why can't I register my iOS application to handle the image file type?

后端 未结 7 753
你的背包
你的背包 2020-12-10 03:40

I have a problem registering image file types to my application. I tried adding the code below to my plist but nothing happens.

CFBundleDocumentTy         


        
相关标签:
7条回答
  • 2020-12-10 04:10

    Per Apple's documentation, "to add the document type do the following:

    • Click on the disclosure button for Document Types to open the document types.
    • In the “Types” section fill in the UTI for the new type.
    • For the key value type: CFBundleTypeRole.
    • For the value type: Editor.
    • For the key value type: LSHandlerRank.
    • For the value type: Owner."

    This works for me using public.image as the UTI.

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