|
|
|
|
30
|
self.sideMenu = [[MMDrawerController alloc] initWithCenterViewController:self.center leftDrawerViewController:self.left rightDrawerViewController:self.right];
|
30
|
self.sideMenu = [[MMDrawerController alloc] initWithCenterViewController:self.center leftDrawerViewController:self.left rightDrawerViewController:self.right];
|
31
|
|
31
|
|
32
|
self.sideMenu.openDrawerGestureModeMask = MMOpenDrawerGestureModeAll;
|
32
|
self.sideMenu.openDrawerGestureModeMask = MMOpenDrawerGestureModeAll;
|
33
|
- self.sideMenu.closeDrawerGestureModeMask = MMOpenDrawerGestureModeAll;
|
|
|
|
|
33
|
+ self.sideMenu.closeDrawerGestureModeMask = MMCloseDrawerGestureModeAll;
|
34
|
|
34
|
|
35
|
[self addChildViewController:self.sideMenu];
|
35
|
[self addChildViewController:self.sideMenu];
|
36
|
[self.sideMenu.view setFrame:self.view.bounds];
|
36
|
[self.sideMenu.view setFrame:self.view.bounds];
|