views:

13

answers:

0

For the life of me I can't get something that seems like it should be simple to work. I have a navigation controller and am trying to push an MKMapView onto the stack that loads the user's current location. The problem is that the user's location seems to be only available after the MKMapView is pushed onto the navigation controller, thus loading the view. That being the case, I can't provide the proper longitude and latitude for the userLocation object until after it is loaded. So what's happening is it's getting loaded with coordinates 0,0 and showing nothing. The second time it loads is fine. What am I doing wrong??