开发者

Lost my nib connection: how to get it back?

I am writing my very first genuine program for the IPhone. In the cour开发者_如何学Pythonse of developing it, I decided to rename a subsidiary view controller (not RootViewController), so I renamed the .h and .m and .xib files.

I had to modify a small amount of code, such as import statements, but the coding effort quickly recovered and all compiled and ran.

However, my view for the view controller doesn't appear when pushed on the stack: I just get a blank view. Apparently renaming the nib file to agree with the view controller is not enough. How to fix?

Thanks in advance for any insights.

John R. Doner


Did you check the class of the File's Owner object in the nib file?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜