I have a Swift project where there is an object called Week. It has an array of objects (Day), which ech one has an array of objects (Meal). In the Meal I want to store an image from the camera. I want to be able to display the images in a tableview together with other data of the Meal.
What would be the best way to go about this? Can I store an image data in the table for Meal?
Image data must be stored as files in the Backendless Hosting storage. You can upload image data with the file/byte array upload API:
https://backendless.com/documentation/files/ios/files_file_upload.htm
https://backendless.com/documentation/files/ios/file_save_files_from_byte_arrays.htm
The return value for the upload is a file URL (which is a string). This is the value you can store in the Meal object.
Mark