MKMapView will not show up in iOS 5


I’ve tried running the Whereami example in both the simulator and on a device, but the map doesn’t show up on either one. It’s as if nothing from the xib is displaying in the app.

If I look at the logs it says something along the lines of all applications should have a RootViewController, and if I start updating location via the locationmanager I see the location updates, but still no map. Any ideas?

Everything builds fine, and code copied straight from the book, so my only guess is that iOS 5 changed something. Unless there is another reason why nothing in the xib will display.

I solved it. :smiley:
It was simply that the “Main Interface” wasn’t set in the projet properties :stuck_out_tongue: