UIWindow required for AGSMapView

777
3
09-11-2013 10:44 AM
CarolHamsly
New Contributor
I'm still trying to get the AGSMapView to work in my Tab View Controller (using Storyboard).  I couldn't include a UIWindow in my main delegate class since it gets placed over my Tab View Controller.  Is this required for AGSMapView?  If not, is their some documentation available for using AGSMapView in a Tab View Controller?  I'm using AGSMapViewLayerDelegate for my UIViewController but I still get a blank view on this particular tab.
0 Kudos
3 Replies
RickJones
Occasional Contributor II
Are you placing the AGSMapView inside a UIView, and then wiring it to an IBOutlet member of the class?

@property (strong, nonatomic) IBOutlet AGSMapView      *mapView;
0 Kudos
CarolHamsly
New Contributor
Not inside a UIView, but inside a UIViewController.
0 Kudos
CarolHamsly
New Contributor
Finally got it to work by following the steps in this link:
http://help.arcgis.com/en/arcgismobile/10.0/apis/iOS/2.2/concepts/index.html#/Displaying_A_Map/00pw0...

This link had me struggling for many hours (please avoid):
https://developers.geoloqi.com/ios/maps
0 Kudos