I have view with tab bar and with button to open side bar.
When the side bar is open, the tab bar stay without moving with the side bar.
The side bar is simply 2 views, one on the other in the same viewController.
Is it possible to move the tab bar with the upper view(side bar)?
With your solution you probably will need then to move all objects on the green field as you do with the tabbar. better way is to have 2 VC (scenes): one with the green field and tab bar, another one is a side menu. and animate the frame positions of the VCs (kind of left/right facebook menu animation), so all related objects will be moved including tabbar.
Related
This is my slide menu in cyan color on the left and dark on the right is my actual window having the slide menu. i need a common navigation bar for both of them but i am not getting it.
I have attached my slide menu with a navigation bar "embed in" and which furthure is connected to swrevelviewcontroller. what should i do to get a single top navigation bar in a situation where the slide menu is visible and the screen also.
First go to storyboard select view controller then check properties from right side.
Then after you need to set UIBarButton(menu/back) manually in all view controller as per requirement. Might be your problem will solved.
One of the common behaviours of Apple's AppleTV apps (like Movies and Television Shows) is that they start with a UITabBar visible, and all of the view's content is rendered in the space below the tab bar. Once focus moves from the tab bar to some content on the screen, the tab bar slides off the top of the screen, and the content moves/scrolls up to fill in the space that's now available. This process reverses itself if the tab bar reappears.
Is there an easy way to accomplish this behaviour (like a check box or something?), or must I implement the didUpdateFocusInContext:withAnimationCoordinator: method in various places, and manually tweak the frames or scroll the content or something?
Select the Tab Bar object in the Tab Bar Controller scene in Storyboard mode and uncheck "Translucent". The items in the views should now move upwards when the tab bar moves upwards.
The UITabBar class also has a translucent property
I currently have a view with a navigation controller and two menu bar items, the left one causes a slide out panel to appear using SWReveal. What I want to do is add a navigation controller to the slide out panel, but make it so the right button doesn't get cut off by the upper view.
I want a button just to the left of where the hamburger button on the upper view is. I'd like to do this in Swift, if there's no way to do it in the storyboard.
I found the solution after looking at this post. Just go into SWRevealViewController.m, scroll down to the _initDefaultProperties block, and change the value of _rearViewRevealOverdraw from 60.0f to 0.0f.
I have a tabBarController in my iOS project, which is on top of every screen.
I am trying to implement a left sliding menu to it using the PKRevealController. The problem that I am facing is that the sliding menu only works (shows) when I set the tabBarController to hidden or remove from super view. Which in return hides the tab bar on the bottom, which is what I don't want.
So, I was wondering if someone could give me some pointers on how to fix this.
I have more than 5 tabs, so the "more" button appears and works fine. However, when I open up one of the tabs from the more menu, there is an extra navigation bar at the top, which shrinks the available space in my app.
I want to move or re-implement the "more" button (at the top of the
page) into my existing navigation bar for each tab. How do I do
this?
Here is an image of what i have now, and what I want is to move that "More" button into the space where it says "Here instead", so that I can hide the upper black bar. If it matters, I am using the storyboards.
You will need to hide the navigation bar, and then create your own button on your tool bar that will pop to the root navigation controller.
To hide the nav bar:
[myTabBarController.moreNavigationController setNavigationBarHidden:YES animated:NO];
It looks like in order to recreate the left arrow from the navigation bar in your tool bar, you will actually have to use an image and set that as the view of your toolbar item. There is an image you can use here.