The Esri Community
Services & Programs
GeoNet Resource Hub
Native App Developers
ArcGIS Runtime SDK for iOS
to create and rate content, and to follow, bookmark, and share content with other members.
Discussion created by
on Nov 6, 2012
on Nov 6, 2012 by njarecha-esristaff
Show 0 Likes
I am using popup in my application to edit the feature layers. I want to save the attachments on the device when the application goes in disconnected mode. Is there a way I can download attachment and save it on the device.
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Nov 6, 2012 7:31 AM
The newly attached attachments resided on the device until you call [AGSAttachmentManager postLocalEditsToServer]. If you want to download all existing attachments from server then you should use use *downloadAttachmentInfos* method and then loop through all *AGSAttachmentManager.attachments* and download each one by calling *downloadAttachmentDataForId:*.
Hope this helps!
Show 0 Likes
Retrieving data ...
error with mxd.save/mxd.SaveACopy
Pathfinder Office to File Geodatabase - Attributed Type Issue
IOError: MapDocObject: Unable to save. Check to make sure you have write access
Can't publish service to ArcGIS Online
XML Data Structures - Characteristics and Limitations