How to add properties in info.plist in iOS

后端 未结 6 1117
故里飘歌
故里飘歌 2021-02-04 06:24

I want to open PDF attachment via email in my own application: I refer two link here:

How do I associate file types with an iPhone application?

and here on Raywe

相关标签:
6条回答
  • 2021-02-04 06:38

    One more quick action is using Version editor

    0 讨论(0)
  • 2021-02-04 06:43

    plist files is nothing more than XML document that Xcode view in his own way. You can Right click -> Open as -> Source Code to get view you want.

    Also you can add to plist directly by clicking plus sign or Right click -> Add Row. Default view of plist can give you a suggestions, so I recommend you to use this instead of viewing as XML

    0 讨论(0)
  • 2021-02-04 06:46

    Right click on the .plist in Xcode and select "Open As -> Source code"

    0 讨论(0)
  • 2021-02-04 06:53

    info.plist is a system level plist in iPhone application, you can add properties by adding a property like this:enter image description here

    0 讨论(0)
  • 2021-02-04 07:01

    If you want to view it as XML, just find the plist file and open it with your favorite editor. Something like TextWrangler. And then add your key-value pairs.

    0 讨论(0)
  • 2021-02-04 07:02

    may be worth mentioning how to get there..

    Info.plist is one of the file below the Main.storyboard or viewController.swift

    when you click on it first time it usually is in a table format,so right click the file and 'open as' Source code and then add the code

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