在Xcode中,在"信息"选项卡下,"URL类型"部分中的角色是什么?

Boo*_*oon 29 url-scheme info.plist ios

在Xcode中,在"信息"选项卡下,"URL类型"部分中的"角色"下拉列表是什么?其有效值为Editor,Viewer,None.

Wai*_*ain 32

它表示您的应用可以使用URL /文件类型执行的操作.

  • 编辑==读写.
  • Viewer ==只读.
  • 无==根本无法使用.

iOS不使用此标志.

  • @ciryx,是的,它在Mac OS X上使用.检查Apple开发站点上的info.plist键的文档. (6认同)
  • 它实际上适用于MacOS.实际的关键是`CFBundleTypeRole`和[官方文档](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html) (2认同)