How can my app access to files in the USB flash?

I have a USB flash drive with MFi certification, and this USB flash has a Lightning interface that can be directly connected to the iPhone. I want to create an app to access the files on the USB drive. I know that I need to use the ExternalAccessory framework, and I need to add UISupportedExternalProtocol to the info.plist. I already know that the value of UISupportedExternalProtocol for this USB flash is "com.isparemobile.protocol", and I have added it to the info.plist. However, I still can't access the files on the USB flash. Can you tell me what I need to do to allow the app to access the files on the USB flash?

Post not yet marked as solved Up vote post of KGG_HT Down vote post of KGG_HT
252 views
  • By the way, is it possible to get the UISupportedExternalProtocol of the Apple's Lightning to USB3 Adapter from Apple? I really need it for my app to access to the usb flash!

Add a Comment