Question
- What Configuration of, Feature Service or code, allows Feature Fields to be editable in AGSPopupInfo popup?
Problem
- Feature Fields do not show up in the AGSPopupInfo popup for editing.
Details
- the self.popupInfo.fieldInfos value shows up empty in the following code.
(void)mapView:(AGSMapView *)mapView didClickCalloutAccessoryButtonForGraphic:(AGSGraphic *)graphic
{
//create a popup info object
self.popupInfo = [AGSPopupInfo popupInfoForGraphic:graphic];
//disable deleting and geometry editing
self.popupInfo.allowDelete = NO;
self.popupInfo.allowEditGeometry = NO;
//create the popup container
self.popupVC = [[[AGSPopupsContainerViewController alloc]initWithPopupInfo:self.popupInfo graphic:self.newFeature usingNavigationControllerStack:YES]autorelease];
self.popupVC.delegate = self;
//push the popup controller onto the navigation stack
[self.navigationController pushViewController:self.popupVC animated:YES];
//start editing mode
[self.popupVC startEditingCurrentPopup];
}