1
iOS 앱에서 맞춤 파일 유형 지원을 추가하려면 CFBundleTypeIconFile
배열이 필수입니까? iOS SDK 도움말에 대한 다른 정보를 찾았습니다.CFBundleTypeIconFile 배열은 iOS 앱에서 맞춤 파일 유형 지원을 추가해야합니까?
The entry for each document type should contain the following keys:
CFBundleTypeIconFile
CFBundleTypeName
CFBundleTypeRole
In addition to these keys, it must contain at least one of the following keys:
LSItemContentTypes
CFBundleTypeExtensions
CFBundleTypeMIMETypes
CFBundleTypeOSTypes
을 그리고 여기에 우리는 CFBundleTypeIconFile
배열이 필수 아니라는 것을 읽을 수 있습니다 :
우리는 CFBundleTypeIconFile
배열이 필수임을 여기에서 볼
Each dictionary in the CFBundleDocumentTypes array can include the following keys:
CFBundleTypeName specifies the name of the document type.
CFBundleTypeIconFiles is an array of filenames for the image resources to use as the document’s icon.
LSItemContentTypes contains an array of strings with the UTI types that represent the supported file types in this group.
LSHandlerRank describes whether this application owns the document type or is merely able to open it.
진실? 빈 배열을 사용할 수 있습니까? 난 그냥 기본적으로 응용 프로그램 아이콘을 사용하는 파일에 대한 사용자 지정 이미지를 지정하고 싶지 않아요.
"Open In"대화 상자에 앱을 표시하도록 관리 했습니까? – kelin