Is there a way to bypass the attribute editing workflow and directly go to Attachment Editing section of AGSPopupsContainerViewController. Basically when user taps the feature on the map, it directly open up popup in attachment editing mode and close from there. Is there a easy implementation with existing AGSPopupsContainerViewController, or the only way possible to write custom View Controller for this?
Hmmm, that's an interesting use case. I'm not certain that this will work - but mabye you can modify the popupinfo you use to not contain any fieldsInfos. That way when you display it, it will not list any fields. Furthermore, after displaying the viewcontroller, you can call startEditingCurrentPopup() on it as soon as the VC is displayed away to put it into editing mode - that way users will only able to edit attachments.
Thanks for the reply divesh. I thought about this workaround as well, but our users didn't find this approach the best. Its going to be a 4 step process on going to attachments view and then coming back to close the popup. Further with no fields in the field editor tableview, it might become confusion as well. In my app some layers require attribute editing, but for some layers, inspectors just want to take picture attachments (because attribute editing for these layers is handled with different custom view controller).
I finally ended up creating custom ViewController for attachment editing as well.
I m new to iOS and trying to develop an application and have the same issue as yours and I couldn't achieve to create a custom view controller. If possible can you share your code on GitHub or send as zip. That would be a really life saver for me.
Real apologies for super delayed reply. I had been away for a different project and didn't got a chance to follow this thread. Can you please send me you email address, I will send you the code for that. Or you can email me at email@example.com