標簽欄控制器無法在Interface Builder中打開

[英]tab bar controllers won't open in Interface Builder


I'm developing a new app but I've a little issue with Interface Builder...
I've installed Xcode 3.2.3 and iPhone SDK 4.0 GM.
When I create a new Tab Bar Application project in Xcode, opening the MainWindow.xib file in IB, the Tab Bar Controller won't open... I tried reclicking it but nothing!
I also uninstalled and reinstalled all developer tools but without any results...
Finally if I try to build and run the project in the simulator, the tab bar controller shows normally!

Can anyone help me? :)

我正在開發一個新的應用程序,但我對Interface Builder有點問題...我已經安裝了Xcode 3.2.3和iPhone SDK 4.0 GM。當我在Xcode中創建一個新的Tab Bar應用程序項目,在IB中打開MainWindow.xib文件時,Tab Bar Controller將無法打開...我嘗試重新點擊它但沒有!我也卸載並重新安裝了所有開發人員工具,但沒有任何結果......最后,如果我嘗試在模擬器中構建並運行項目,則標簽欄控制器顯示正常!誰能幫我? :)

2 个解决方案

#1


0  

It sounds like something similar to what I have experienced with my projects and the new sdk. Some of my IB files such as ones that contain UIViews when double clicking on them they refuse to open.

這聽起來像我在項目和新sdk中遇到的情況類似。我的一些IB文件,例如雙擊它們時包含UIViews的文件,它們拒絕打開。

I haven't had to reinstall or nothing usually quitting IB and xcode and restarting helps I can't remember if I have done anything else to fix it. It may be an issue with the new 3.2.3 xcode as I don't recall having anything like this happen in my 3.2.2 build.

我沒有必要重新安裝或沒有通常退出IB和xcode並重新啟動幫助我不記得我是否已經做了任何其他事情來解決它。這可能是新的3.2.3 xcode的問題,因為我不記得在我的3.2.2版本中發生了類似的事情。

If it becomes a large problem for you have you considered removing the tab bar and rebuilding it? Just a thought. It may be troublesome to do so but if it fixes it and allows you to continue coding your project it would be worth it.

如果它成為一個大問題,您是否考慮過刪除標簽欄並重建它?只是一個想法。這樣做可能很麻煩,但如果它修復它並允許您繼續編寫項目編碼,那將是值得的。

#2


0  

You said in your question that you're running iPhone SDK 3.2.3 with iOS4 GM. You should update your SDK, as the SDK is now at version 4.0 officially.

你在問題中說你正在使用iOS4 GM運行iPhone SDK 3.2.3。您應該更新SDK,因為SDK正式版4.0。

Otherwise, it sounds like your Xcode installation is somehow corrupted in some way. You may need a complete reinstall.

否則,聽起來你的Xcode安裝在某種程度上已經被破壞了。您可能需要完全重新安裝。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2010/07/17/19bd667fa37e031f1457e11c04d9a7fc.html



 
  © 2014-2022 ITdaan.com 联系我们: