Transfer data from iOS app to Unity3D
What is the proper way for transfering complex objects from iOS app to Unity3D using c plugin? For example, I have to transfer an NSArray, which contains Rewards. Each Reward contains UIImage, NSString-s, some float values, etc.
As I know, I can send only a single string to Unity3D. I found a way with sending string with byte data and deconding it in Unity. Is it the right solution in my case?
Thanks in advance for help.
I decided, that the best solution for data transfer is using JSON strings. In Unity I used tiny library litJSON for parsing.
When I had to transfer image, I saved it on device and transfered path to the image.