My iOS app needs to open data files from iCloud drive to flash some of our devices. We use .hex and .bin file extensions. I'm supplying the appropriate document types to UIDocumentPickerViewController (I have also defined them in my Info.plist's Imported UTIs section). UIDocumentPickerViewController keeps the .bin files grayed out, however. I understand that these fall under the system defined "com.apple.macbinary-archive" type. Is there any way to let the document picker mark those as available or should I just rely on renaming the file?
Picking .bin files with UIDocumentPickerViewController
You should use "kUTTypeArchive" instead of then solved problem. File .bin is an archive file.