Iphone 将UINavigationBar添加到UITabBarController

Iphone 将UINavigationBar添加到UITabBarController,iphone,cocoa-touch,Iphone,Cocoa Touch,我的应用程序在iPhoneOS2.2.1上运行得非常好,但现在我正试图让它在iPhoneOS3.0上运行 我的应用程序崩溃了,显然是因为UIDABBarController中有一个UINavigationController 我得到以下错误: 'NSInternalInconsistencyException', reason: 'Changing the delegate of a tab bar managed by a tab bar controller is not allowed.'

我的应用程序在iPhoneOS2.2.1上运行得非常好,但现在我正试图让它在iPhoneOS3.0上运行

我的应用程序崩溃了,显然是因为UIDABBarController中有一个UINavigationController

我得到以下错误:

'NSInternalInconsistencyException', reason:
'Changing the delegate of a tab bar managed by a tab bar controller is not allowed.'
我不知道为什么会发生这种情况,以及如何解决它


任何帮助都将不胜感激。

在每个选项卡中都有一个UINavigationController非常好。显然,您遇到的问题与错误使用代理有关。但是,如果没有相关的源代码,就很难告诉您问题所在