0
我试图重新创建iPhone的tabView,但用我自己的风格,按钮等。我不想完全重做我的应用程序,所以我只是在我的appDelegate中添加了一个视图到底部,像这样的[window addSubview:theToolbar]; theToolbar.frame = CGRectMake(0, 425, 320, 44);
。presentModalViewController ontop子视图?
但是,当试图从navigationController theToolbar
中的视图执行此操作时已完成此操作。无论如何要以某种方式将它呈现在前面?
这里是我的代码,目前认为:
AppSettingsController *appSettings = [[AppSettingsController alloc] initWithNibName:nil bundle:nil];
appSettings.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentModalViewController:appSettings animated:YES];
[appSettings release];
感谢。
感谢您的答复。试过了。将视图控制器放置在我的导航控制器中时,它向左/向右滑动。我不想那样。 – iosfreak 2011-05-16 23:25:08
改为放入我的navigationController。不管怎么说,还是要谢谢你。 – iosfreak 2011-05-17 03:58:55