Open Pramod-ibl opened 8 years ago
Why did you add a navigation controller between tab bar controller and reveal view controller? You don't have to do this. Or did you want to say position of Nav Bar? If it is, you have to add a navigation controller between Reveal View Controller and Table View Controller (i.e the menu).
@iDevelopper i remove navigation controller between UITabbarController and SWRevealViewController than also not change position of UITabbar. NavigationBar work completely I want to change position of UITabbar also.
Then I don't understand the question. Where do you want the tab bar to appear. A tab bar is always at the bottom off the screen.
@iDevelopper See my output image in question. In that image position of navigation bar is change while reveal is come(go to right), but not change position of tabbar(go to right). i want to change position of tabbar(go to right) while reveal while appear like navigationbar. i want output like following.
The tab bar controller is the root view controller of the application and it is the entry point. Then you have to change the frame of it's tab bar programmatically each time the front view position change. See the delegate methods of SWRevealViewController. When rear view is visible the x position of the tabBar will be revealViewController.rearViewRevealWidth
@iDevelopper any other way ??
No, but in fact I don't understand why you want your tab bar move with the front view? When the user want to tap another tab item, he can't do it when the menu is open !! If you want really do that, the solution above is very simple.
@iDevelopper Thank you so much...
I would like to know why you want to do this, please
@iDevelopper I think not looking good if not change position of UITabbar.
I implement SWRevealViewController with UITabbarController via storyboard. I want to display SWRevealViewController in first UITabBarItem only, in other UITabBarItem i don't want to open SWRevealViewController, that done completely. But problem is position of UITabBar is not change like viewcontroller while SWRevealViewController is appear.
Please help me. Output
Storyboard Structure )