Make sure you feature layer (agsFeature) is assigned to a strong property on the VC, otherwise it may get deallocated before the operation completes and the delegate won't be notified.Here is a doc that describes how you can simplify the code for performing attachment operations on an AGSFeatureLayer using the AGSAttachmentManager class - https://developers.arcgis.com/ios/guide/working-with-the-attachment-manager.htm