问题描述
我想知道如何更改在表格视图中显示的图标。
I was wondering how I can change the icons that show up in the table view.
我查看了 apple.com 上 UIDocumentInteractionController
的文档,有任何成功编辑我的plist。如果有人知道如何做到这一点请帮助。
I looked at the documentation for UIDocumentInteractionController
on apple.com but I didn't have any success editing my plist. If someone knows how to do this please help.
谢谢
推荐答案
介绍了如何在应用中注册自定义文件类型及其图标。
Registering the File Types Your App Supports describes how to register custom file types together with their icons in an app.
因此,如果在plist的 LSItemContentTypes 数组中使用com.example.myformat作为UTI类型, $ c> UTI 属性的文档交互控制器的同一个字符串com.example.myformat,那么应该使用你的图标。
So if you use "com.example.myformat" as UTI type in the LSItemContentTypes array of the plist, and set the UTI
property of the document interaction controller to the same string "com.example.myformat", then your icon should be used.
这篇关于更改UIDocumentInteractionController图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!