Storyboards VS xib's use concept
I have a custom UIViewController class that I want to show when a
UITableViewCell is pressed, so I get a callback when a particular cell has
been pressed.
My project is a navigation based application and i have created the
ViewController that I want to present in the StoryBoard but it have no
segue connected to it because it should be called from a dynamic
UITableViewCell.
The ViewController also set as the class that Subclassing it.
So now I am trying to do something like :
[self.navigationController pushViewController:[[AddAccountsViewController
alloc]init] animated:YES];
It does push but all I see is black screen. with an XIB I could just
create it separately but then I lose the 4 inch screen auto fit behavior
which I dont want.
How can I mange this?
No comments:
Post a Comment