Closed azamsharp closed 10 years ago
I am using the following code to show the menu when a UIBarButtonItem is clicked. It does not do anything:
-(IBAction) showMenu:(id) sender { MenuViewController *menuViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"MenuViewControllerStoryboard"];
REFrostedViewController *frostedViewController = [[REFrostedViewController alloc] initWithContentViewController:menuViewController menuViewController:menuViewController]; frostedViewController.direction = REFrostedViewControllerDirectionLeft; [frostedViewController presentMenuViewController];
}
Please refer to the example projects.
I am using the following code to show the menu when a UIBarButtonItem is clicked. It does not do anything:
-(IBAction) showMenu:(id) sender { MenuViewController *menuViewController = [self.storyboard instantiateViewControllerWithIdentifier:@"MenuViewControllerStoryboard"];
}