iphone-map-view

[Prev] Thread [Next]  |  [Prev] Date [Next]

problem with mapview Fabio Wed May 27 12:00:43 2009

Hi,
How can I use MapView with Interface Builder?

I developed an application with two views, and I wanted to add MapView
like subview but I did not succeed.

I tried this code in viewDidLoad method in my ViewController:

MapView* mapView = [[[MapView alloc] initWithFrame: [[UIScreen
mainScreen] applicationFrame]] autorelease];
[self.view insertSubview:map belowSubview:infoButton]

When I run application, it crash.

what am I wrong? Can I use mapview with Interface Builder?





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iphone-map-view" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphone-map-view?hl=en
-~----------~----~----~----~------~----~------~--~---