Reputation: 16416
I have a View Controller that is embedded inside a UINavigationController that is embedded inside a UITabBarController:
self.find = [[UINavigationController alloc] initWithRootViewController:[[Find alloc] init]];
NSMutableArray *tabViewControllers = [[NSMutableArray alloc] init];
[tabViewControllers addObject:self.find];
[self setViewControllers:tabViewControllers];
In that View Controller, I am trying to allocate a GMSMapView instance.
self.mapView = [[GMSMapView alloc] initWithFrame:CGRectZero];
I am on version 1.9.1 of the iOS Google Maps SDK (latest version). Everything was working well in iOS7, but now that I've upgraded to iOS8, when the debugger reaches the line above - it never returns and the app hangs.
Upvotes: 0
Views: 177
Reputation: 81
Try using - [GMSMapView mapWithFrame:camera:]
method instead. It may work.
Upvotes: 2