i using mmdrawercontroller create slide menu in ios app. menu working have troubles it. menu viewcontroller tableview light 4 custom cells.
- my app have top bar - don't know how can turn off.
i have button show menu. menu looks when open sliding finger on screen when run app first time , push button menu opens visual lag. seems menu not loaded - showing first near top of screen , goes down on proper place. happens in case when open menu first time button. here action.
@ibaction func showmenu(sender: anyobject) { var appdelegate : appdelegate = uiapplication.sharedapplication().delegate as! appdelegate appdelegate.centercontainer?.toggledrawerside(mmdrawerside.left, animated: true, completion: nil) }how can set width of menu? menu wide, maybe can customized smaller.
to hide status bar can use
[[uiapplication sharedapplication] setstatusbarhidden:yes withanimation:uistatusbaranimationnone];or swift version
uiapplication.sharedapplication().setstatusbarhidden(true, withanimation: uistatusbaranimation.none)you init stuff in
viewdidload, that's why lags bit.you can use the
@property (nonatomic, assign) cgfloat maximumleftdrawerwidth;property set maximum width.