iPhone modal view and navigation view question
I am 开发者_开发问答creating an iPhone app and I have a problem when using navigation view controller and modal view.
Basically, the main UI of the app is an Tabbar view, but before that the app would pop up a navigation view for user to sign in/up. The pop up is implemented as a modal view.
In the navigation view controller, the root view is sign in page as a table view programmatically created without nib file.
The problem is that when the navigation view pop up, only the title bar("sign in") show up, the table view of sign in does not.
What's the possible reason for this? Thanks.
It could be that you haven't initialized the UITableViewController with a non CGRectZero size. Try to initialize it with initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 440.0f)
精彩评论