Ich habe den folgenden Code:Problem mit Drücken auf Navigationsleiste
- (void)setupBook
{
if (self.bookNavigationController) {
BookViewController *bookVC = [[BookViewController alloc] initWithTemplate:x];
self.myBookVC = bookVC;
[bookVC release];
myBookVC.pageTitle = @"My Book";
UINavigationController *nController = [[UINavigationController alloc] initWithRootViewController:myBookVC];
self.bookNavigationController = nController;
[nController release];
}
}
und dann in den anderen Teilen des Codes ich habe:
[self.someOtherNavigationController pushViewController:self.bookVC];
aber jetzt, wenn ich versuche selbst zu präsentieren. bookNavigationController als Modal View-Controller, ist es wie der myBookVC nicht da ist. warum ist das? Es erscheint nur eine leere Ansicht mit einer Navigationsleiste.
tat das und half auch nicht – xonegirlz