我正在尝试重新创建 iPhone 的 tabView,但使用我自己的样式、按钮等。我不想完全重做我的应用程序,所以我只是[window addSubview:theToolbar]; theToolbar.frame = CGRectMake(0, 425, 320, 44);
在我的 appDelegate 中像这样在底部添加了一个视图。
但是,当尝试从 navigationController 中的视图执行此操作时theToolbar
,它就结束了。有没有办法以某种方式将它呈现在前面?
这是我展示视图的代码:
AppSettingsController *appSettings = [[AppSettingsController alloc] initWithNibName:nil bundle:nil];
appSettings.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentModalViewController:appSettings animated:YES];
[appSettings release];
谢谢。