Closed Dbigshooter closed 8 years ago
Yes.
You have some properties to set the shadow:
/**
/**
/**
/**
The same for left and right views when above.
Where do I find those properties?
All those properties are in PBRevealViewController.h and also documented on cocoa pods.
Oh okay, I can use different styles for the left and right menu? Your example gives me this error: linker command failed with exit code 1 (use -v to see invocation)
I cannot get the push to work. On my static cell I've made a custom segue with PBRevealViewControllerSeguePushController, but it doesn't work.
Yes. On top or none, Custom shadow for each, overdraw, displacement etc...
How can I make the menu push the main view, and not go on top of it?
This is the case of these last two images, no? The menu is not on top, there a just in this sample a blur effect on the table view.
At the moment the view covers something of my maincontroller, I don't want it to do that, I just want to push it to the right.
Is it a test project you can provide here? Then I could see.
In your example, you can still see the menubutton on the maincontroller, my left menucontroller covers that at the moment, and I don't want it to. I want it to show exactly like SWRevealViewController
Did you set LeftViewPresentOnTop to false? A property in PBRevealViewController.h
Perfect, thanks! I really appreciate your taking time to guide me! Can you answer this, since it find it really odd.
I cannot get the push to work. On my static cell I've made a custom segue with PBRevealViewControllerSeguePushController, but it doesn't work.
Can I somehow change the height of the right menu? I don't want it to start at the top on the screen, but just below the navigationbar.
I have no sample with static cell, i never use that. Can you post your sample please?
For the second question, use the:
/**
I can't get it to work by setting that to YES, nothing happens?
I'll post an samle in a minute.
OK and in my sample, the right menu is under the navigation bar. But in this case it must be presented on top on the main view because if not the navigation bar of the main view is pushed on left!
I tried to edit it in the .m file, but it is still covering the navigationbar.
self.revealViewController()?.rightPresentViewHierarchically = true
It worked, thanks! I'll post a sample with static cells, I really want to use that.
Uhm, but there's not much to show with the static cells, you just drag a segue from the menupoint to the controller you want to go to. But unfortunately it doesn't work.
I have already test but with dynamic cells (table view cell -> push segue and test the indexPath). I have to write a sample if you can't send your with static cells. Why do you want to use static cells? Is it from rightViewController?
I got it to work ;o) Is it possible to make the right view controller a bit transparent?
Cool! Those are your controllers, you do what you want with. PBRevealViewController just present them. In my sample, the right view controller is transparent and the left one have a blur effect. Play with your view's alpha property.
Thanks! Is it possible to reduce the height of the rightview? I want it to be a little short at the bottom, so I can fit in a tabbar.
Hi,
In my sample, there is a tab bar controller (see storyboard). It is automatic...
@iDevelopper For some reason I can't run your example, I get:
linker command failed with exit code 1 (use -v to see invocation)
Did you not run it yesterday?
You must open the xcworkspace and not the xcodeproj.
Got it solved. However I can see that your right menu is behind the tabBar, I actually want the view to stop by the tabBar. Is that possible?
It is not! This is a table view controller. This controller takes all the screen by default. But you can see that all the cells are visibles when scrolling. If you want to do differently, uses a UIViewController with a table view. Don't forget to set the datasource and delegate of table view to it.
I would like you to open issues in the PBRevealViewController's Github repository as this is not the right place here now! Thanks a lot!
Hi there!
My problem seems fairly simple, but I just can't figure out how to solve it. When my MenuViewController is showing, it's the rear one, I need to set a delegate in the MenuViewController so I can modify the content in the ViewController I came from. For instance I have a button in the MenuViewController which is meant to modify the map in the ViewController I am showing the MenuViewController from. Any suggestions? Really appreciated!