I am initializing MMDrawerController in my app delegate like this:
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:storyboardName bundle: nil];
UIViewController *menu = (UIViewController *)[storyboard instantiateViewControllerWithIdentifier:@"menu"];
UINavigationController *center = (UINavigationController *)[storyboard instantiateViewControllerWithIdentifier:@"center"];
self.drawerController = [[MMDrawerController alloc]
initWithCenterViewController:center
leftDrawerViewController:menu
rightDrawerViewController:nil];
I then set my root view controller to be the MMDrawerController like this:
[self.window setRootViewController:self.drawerController];
I want to be able to overlay a UIActivityIndicator
inside a view over the top of all that's going on inside the MMDrawerController so that I can have a global way of making the UI unavailable while certain operations complete.
If MMDrawerController is my root view, can I add a view on top of it? Or can I only add views to one of its child view controllers (left drawer, center view controller, or right drawer)?
Thanks!