The project that I am going to work that already develop in android platform. Android application receive data from a desktop system as soon as USB connected device with desktop. I am quite sure, to develop this I need to use ExternalAccessory.Framework. I am searching for tutorial for this but unable to find it yet. I am planning to use apple charger cable to receive data from Desktop client or do I need to buy any special MFi cable for that. Any guideline or suggestion or any tutorial link is appreciate to get right way to develop this in iOS platform like Android. And also how I can send a dictionary from my Mac application to my iOS device using USB cable? please share idea or thought thanks
I am quite sure, to develop this I need to use ExternalAccessory.Framework.
You are incorrect. The ExternalAccessory framework can only be used to communicate with MFi-compliant accessory devices and Bluetooth devices developed with Apple's support. The iPhone USB cable (and the computer) is not such a device; you cannot use this framework here.
If you need to transfer small files between your iOS application and the computer, the most appropriate way to do this is by enabling file sharing. This will cause your application to appear in iTunes for file transfer. For details, see the question How to enable file sharing for my app?