But, we're using AGSPopupsContainerViewController, as is the sample you referenced.
Again - to outline the goal here -
When the graphic button is clicked, and the attributes are put into the new popup window, next to the attachment icon is the edit geometry icon. We (I) want to "disable" or "hide" the editgeometry icon.
-(void)mapView:(AGSMapView *)mapView didClickCalloutAccessoryButtonForGraphic:(AGSGraphic *)graphic{
self.activeFeatureLayer = (AGSFeatureLayer*) graphic.layer;
//Show popup for the graphic because the user tapped on the callout accessory button
self.popupVC = [[[AGSPopupsContainerViewController alloc] initWithWebMap:self.webmap forFeature:graphic usingNavigationControllerStack:NO] autorelease];
self.popupVC.delegate = self;
self.popupVC.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
//If iPad, use a modal presentation style
if([[UIDevice currentDevice] isIPad])
self.popupVC.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentModalViewController:self.popupVC animated:YES];
}