iphone - MKMapView - NSUnknowKeyException -
I want to use with is not coding-like code <3> MKMapView with UITabbarController I solve any problem with other view controller applications but if I MKMapView with UITabBarController , MKMapView IBOutlet IBOutlet with its code and IB throws NSUnknownKeyException > Deletes the application is running fine. If I set the MKMapView application to IBOutlet , then it throws an exception.
To change the UIViewController on TabBarController which will display your map:
@interface MyMapViewController {MKMapView * mapView; } @ Property (non-monomeric, intact) IBOutlet MKMapView * mapView; Use inspector to change the MyMapViewController class from UIViewController on your tab bar controller
Comments
Post a Comment