I've changed all my uses of mapView.envelope to mapView.visibileArea.
However, AGSIdentifyParameter still has this property:
mapEnvelope
@property AGSEnvelope *mapEnvelope
Discussion
The current extent of the map. This property, in conjuction with size, and dpi, is used by the server to determine which layers are visible.
Declared in
AGSIdentifyTask.h
This produces numerous warnings.