CrackerBarrelKid55
CrackerBarrelKid55

Reputation: 608

MMDrawerController - Open Left Drawer from a button in Center Drawer

I've created a MMDrawerController within my app delegate file and I'm having trouble trying to toggle open the left drawer from an action within the center view. Is this a possible thing to do?

Upvotes: 0

Views: 726

Answers (1)

Ajay Gabani
Ajay Gabani

Reputation: 1178

You can use this code in click event of your center view button.

[self.mm_drawerController toggleDrawerSide:MMDrawerSideLeft animated:YES completion:nil];

This mm_drawerController object is your MMDrawer object.

Upvotes: 1

Related Questions