Skip to content

change the first view controller presented #81

@tharrington

Description

@tharrington

I am about to display my slideout view controller, but I want to display controller at index 3 if the user has never used the app before. Before i present the navigation controller, I tried using this method:

  • (void)switchToControllerTagged:(int)tag andPerformSelector:(SEL)selector withObject:(id)obj

so my code looked like this

// initiate controllers
[slideoutController switchToControllerTagged:3 andPerformSelector:nil withObject:nil];
[self.navigationController pushViewController:slideoutController animated:YES];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions