Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using in Storyboards out of the box #9

Open
n9986 opened this issue Dec 26, 2012 · 0 comments
Open

Using in Storyboards out of the box #9

n9986 opened this issue Dec 26, 2012 · 0 comments

Comments

@n9986
Copy link

n9986 commented Dec 26, 2012

I cannot seem to make this control work out of the box with Storyboards.

Copying the example verbatim, if I use:

[self.navigationController pushViewController:[[PERootViewController alloc] init] animated:YES];

... it works just fine. But using Segues, I just get a blank screen.

In the storyboard I have assigned PERootViewController to one of the View Controllers. It seems the code can work only with the base 'init'?

I implemented the following:

- (id)initWithCoder:(NSCoder *)decoder
{
    self = [super init];
    return self;
}

This works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant