AnsweredAssumed Answered

Error Syncing Offline Attachment to arcGIS 10.2 in iOS

Question asked by prkumar on Jun 26, 2014
Latest reply on Jun 27, 2014 by DGoyal-esristaff
Hi all,

i am working on a product which requires attachment to be synced to the offline ArcGIS server.

for this i am using the <AGSFeatureLayerEditingDelegate>

//Constructing the AgsFeature Object
agsFeature = [[AGSFeatureLayer alloc] initWithURL:[NSURL URLWithString:url] mode:AGSFeatureLayerModeOnDemand credential:[[DataManager sharedManager] getArcGISCredentials]];

//Assigning the delegate to self
agsFeature.editingDelegate = self;

//Performing the addAttachment
NSOperation *op = [agsFeature addAttachment:attachment.form.uId data:attachment.imageData filename:attachment.name];

but the problem here is that the NSopertion *op is returning 'nil'. and hence the callback to delegate is not happenening.

i am just stuck on it.
Any help suggestion would be of great help..! Thanks.!

Outcomes