Skip to content

Using in Storyboards out of the box #9

@n9986

Description

@n9986

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions