Pulley
Pulley copied to clipboard
Fix Drawer Height
I am facing an issue and haven't found any solution yet. The drawer height should be the half of the total screen size. How I can achieve this?
You can return self.view.bounds.size.height / 2.0 as the height for whatever position you want. If the view size changes, you need to notify Pulley with setNeedsDrawerPositionsUpdate so it can refresh the value.
Would you please specify from where I can set this height. Sorry, I am working on this for the first time and it is difficult for me to detect. Thanks.
There are delegate methods for you to implement. Please see the sample project + README for details and examples.
@AnkurLahiry did you find any solution?