-
Notifications
You must be signed in to change notification settings - Fork 16
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
RightView height and position. #2
Comments
Can you provide a screenshot please? |
Do you have the application screenshot too? It is a tab bar? Not a tabbarcontroller? |
Its is just a tabbar |
Hi @Dbigshooter , PBRevealViewController don't provide a way to do this yet! You can easily change the rightViewController's frame in your project. See this sample, in SecondViewController.swift: |
@iDevelopper Can you reduce the height? Can I manually make it go to the tabBar just by declaring the height? |
Did you try the last sample? It seems your constraints are not right. I added a text view to the right view controller and all is right: |
That is when I'm scrolling. Where did you set the constrains? I can see yours works perfectly. |
Yes but for me in my sample, it's ok. You can send your project if you want and I'll see. |
Can you explain where you set the constraints? I'm using a TableViewController. |
I see, but how can this be achieved in an TableViewController? I can't seem to do it. |
Ah ok, I thought it was a scrollView. Then embed your table view controller in a navigation controller, and in this navigation controller uncheck Show navigation bar. |
And yes a table view controller and a particular object, it takes the whole screen. By adding a navigation controller in which the bar is not shown, it takes into account the status bar's size. And sorry for my english! |
You're a genius. Can I make the tableview not dragable? So the line stays where it is, see the last screenshot of mine. |
Not dragable? Meaning? |
Thanks! Is there a way to get the tabBar above the rightmenu? A hack or such? |
Try to add a shadow to your tabBar. |
Oh I just realized, it's not a tabbar, but a toolbar! Is it possible to do it with that, @iDevelopper? |
It is a toolbar, not a tabbar, I figured. Does that make any difference? |
It is the same. They are both UIView. |
Is that the only solution, or are you working on another? |
No, as it is not possible! The side view is shown on top of the main view then obviously above all the main view subviews. |
But isn't the UIView you added a subview of the mainview? I just want to understand. On the other hand, how to call a method on my mainView from the RightView? |
Hi there, continuing from this thread. https://github.com/John-Lluch/SWRevealViewController/issues/612
Is it possible to get the RightView to stop by a tabBar? Minding that I just have the tabBar in the last controller, not in the navigationscontrollers before PBRevealViewController.
The text was updated successfully, but these errors were encountered: