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

Help i'm trying to call viewWillAppear in contentViewController #185

Open
mcdave-gorated opened this issue Oct 24, 2017 · 0 comments
Open

Comments

@mcdave-gorated
Copy link

mcdave-gorated commented Oct 24, 2017

I have this delegate method

- (void)frostedViewController:(REFrostedViewController *)frostedViewController willHideMenuViewController:(UIViewController *)menuViewControllerg
{
    [frostedViewController.contentViewController viewWillAppear:YES];
}

viewWillAppear only works after 2x open and close of sidenav. im calling this to set content after side nav is closed.

workaround:

- (void)frostedViewController:(REFrostedViewController *)frostedViewController willShowMenuViewController:(UIViewController *)menuViewController
{
    [frostedViewController setContentViewController:frostedViewController.contentViewController];
}

reassign contentview controller when viewing side nav

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