ios - How to configure MMDrawerController properly -


i using mmdrawercontroller create slide menu in ios app. menu working have troubles it. menu viewcontroller tableview light 4 custom cells.

  1. my app have top bar - don't know how can turn off.
  2. 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) } 
  3. how can set width of menu? menu wide, maybe can customized smaller.

  1. to hide status bar can use

    [[uiapplication sharedapplication] setstatusbarhidden:yes withanimation:uistatusbaranimationnone]; 

    or swift version

    uiapplication.sharedapplication().setstatusbarhidden(true, withanimation: uistatusbaranimation.none) 
  2. you init stuff in viewdidload , that's why lags bit.

  3. you can use the

    @property (nonatomic, assign) cgfloat maximumleftdrawerwidth; 

    property set maximum width.