Bumping this topic because I just found this thread, without it I wouldn't have been able to solve my problem. Please update docs , it's still not there.
Thanks for the bump Grisha, I'll open a Jira ticket against the lack in the documentation and make sure it gets fixed.
Thanks,
Yonghui Xiao
http://devcenter.kinvey.com/ios/reference/api/Classes/KCSLinkedAppdataStore.html
there is an important mistake, which took me several hours to find the solution. So I think it may help others.
The original (wrong) text of the second paragraph:
To make use of this, have an entity map a UIImage property to the Kinvey dictionary in – [KCSPersistable hostToKinveyPropertyMapping], and save that entity. The associated image will be saved a a PNG blob in the backend and linked back to its entity, so that when the entity is loaded, the image will be fetched from the resource service.
The right method:
To make use of this, have an entity map a UIImage property to the KCSFileStoreCollectionName in – [KCSPersistable kinveyPropertyToCollectionMapping].
Please verify this so that others do not need to waste time on this. The following place can also be updated:
http://devcenter.kinvey.com/ios/guides/files#linkingimagedata
Thanks.
1 person has this question