CosmicMind/Samples

How to change Drawer width programatically

SandeepCBL opened this issue · 1 comments

I want to set drawer width to 80% of screen width. Is there any way in NavigationDrawerController.

Try the function below:

open func setLeftViewWidth(width: CGFloat, isHidden: Bool, animated: Bool, duration: TimeInterval = 0.5) {

If you need further help, please reopen this issue :) Thank you!