Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Remove arbitrary view controller from the stack #2

Open
kostiadombrovsky opened this issue May 14, 2013 · 2 comments
Open

Remove arbitrary view controller from the stack #2

kostiadombrovsky opened this issue May 14, 2013 · 2 comments

Comments

@kostiadombrovsky
Copy link

I think an ability to remove a view controller form the stack is needed. For instance like this:
UIViewController* page = [self.storyboard instantiateViewControllerWithIdentifier: @"another_vc"];
[self.flipboardNavigationController pushViewController: page completion: ^
{
self.flipboardNavigationController.viewControllers = @[page];
}];

@demonnico
Copy link

maybe u need a function called ["popViewController:page withCompletion:"(https://github.com/demon1105/FlipBoardNavigationController/commit/e0011d64d76d132af9813e8c4e972a7bf2cb65f8)

@kostiadombrovsky
Copy link
Author

Yeah looks like the right thing.

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

No branches or pull requests

2 participants