Open kunass2 opened 8 years ago
I have simple SearchViewController with menu button at the top left corner.
SearchViewController
Using SVRevealViewController I automatically setup front view controller.
SVRevealViewController
It works and looks like this:
but later on action from this controller I load this controller once again using sth like this:
revealViewController().setFrontViewController(UIStoryboard(name: "Search", bundle: nil).instantiateInitialViewController(), animated: true)
and then it looks like following:
and this is wrong. Why it happens like that?
My Search.storyboard is a PageViewController with two types of pages. First of them is my SearchViewController:
PageViewController
Ok, I have tried almost everything, but still the same. Could you look at this? I have UINavigationBars there linked to the top layout guide = 0. Nothing changes when I link this to the superview.
I have simple
SearchViewController
with menu button at the top left corner.Using
SVRevealViewController
I automatically setup front view controller.It works and looks like this:
but later on action from this controller I load this controller once again using sth like this:
and then it looks like following:
and this is wrong. Why it happens like that?
My Search.storyboard is a
PageViewController
with two types of pages. First of them is mySearchViewController
: