Я использовал класс MapMultiController, который расширяет UIViewController и создается изнутри моего ListViewController, который также расширяет UIViewController, например:
@interface MapMultiController : UIViewController <UINavigationControllerDelegate, UINavigationBarDelegate> {
MKMapView *mapView;
UISegmentedControl *barStyleSegControl;
bool wasUpdated;
}
, а затем это:
MapMultiController *controller = [[MapMultiController alloc] initWithNibName:@"MapMultiController" bundle:nil];
controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:controller animated:YES];
[controller release];
Это все работало раньше, но затем я прокомментировал распределение и все это из моего ListViewController и сделал некоторые другие вещи, и теперь, когда я пытаюсь вернуть его обратно, он говорит: «Неожиданное имя интерфейса« MapMultiController » ", и, конечно, все после этого не работает.
Но все выглядит правильно для меня! Что не так?