English 中文(简体)
可可 touch
原标题:View Controller in cocoa touch

Can a view be managed by 2 view controllers? An example is the Root View controller has a Table View Controller inside it, The view of both these controllers is the table view. With this configuration the app loads but crashes during run-time where you scroll the table view. Whats wrong here?

最佳回答

每一名情报分析员都管理着一种观点,其次见。 试图对控制者采取单一观点是不可取的。

问题是,你们不需要2名控制者。 你的深层观点控制器应当成为国际笔记员的习惯子。 添加一个可检索的意见,作为根基控制器观点的子目,并将可调的意见和数据来源交给根基控制器。 • 确保你的根视控制器组采用可调用的电荷程序程序所需的方法,在根基控制器的视德洛德方法中,你可以这样做。

也可以直接使用可调用的电算器作为根基控制器

问题回答

暂无回答




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签