Select to view content in your preferred language

Add attribute data to attachment table in IOS

803
1
03-26-2013 11:12 AM
DionO_Reilly
Occasional Contributor
We have developed a custom IOS app using the ESRI API to collect data in the field.  The feature layer has an attachment table to store the photos collected.  We need to label the photos when they are taken ie. ???Front of House???, ???Right of House??? etc???  Is there a way to save attribute data to the attachment table with the photos?
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
You can set name of attachment. Use AGSAttachmentManager's addAttachmentAsJpgWithImage:name: or  addAttachmentWithData:name:contentType: methods.

Regards,
Nimesh
0 Kudos