In older versions of the SDK AGSMapView's addMapLayer:withName returned a UIView<AGSMapLayer> (or some similarly named protocol) but in the newer version of the SDK that method returns void.
My use case is this: I'd like to have the UIView for that layer to adjust its transparency arbitrarily at runtime. Maybe this isn't the most effective way to do this. Is there a better way to adjust the transparency, or barring that, is there a way to retrieve the UIView created after I call addMapLayer:withName?