When using AGSPopupsContainerViewController and popupInfo.allowEdit = YES, when clicking on the AddGeometry Icon from the popupwindow, the window closes, and the user is able to add the geometry to the map (point, line or poly).
I am trying to enable adding geometry to the map when adding a new feature, when using a CUSTOM View Controller with AGSPopup and popupInfo (not the AGSPopupsContainerViewController) for which I've added my own button to initiate creating the geometry.
How do I set the map to accept vertices or points to create my geometry?