I am using PageMenu in my project in the TabBar controller and navigation controller. When I initialize the βscroll menuβ, I use it to display it under the status Bar and the navigation bar:
pageMenu = CAPSPageMenu(viewControllers: controllerArray, frame: CGRectMake(0, UIApplication.sharedApplication().statusBarFrame.size.height + self.navigationController!.navigationBar.frame.height, self.view.frame.width, self.view.frame.height), options: parameters)
This solution works great and displays my menu exactly where I want! Then I present the image selection view inside one of the scrollable views. After rejecting this menu, the menu returns to its original location (under the navigation bar) ...
Any solution to avoid this problem? (If you need more details, I can provide more code)
PS I am not a native speaker of English, so I hope that my question is clear :)
ios swift uiimagepickercontroller uinavigationbar presentviewcontroller
MatthieuTnsc Apr 08 '15 at 15:57 2015-04-08 15:57
source share