mutualmobile / MMDrawerController

A lightweight, easy to use, Side Drawer Navigation Controller
MIT License
6.76k stars 1.38k forks source link

Remove black background color in viewDidLoad #285

Open timanrebel opened 9 years ago

timanrebel commented 9 years ago

In the viewDidLoad function of MMDrawerController.m the background color is set to black. Would it be possible to remove this / change this to clearColor?

A client of mine wants a background image that is visible behind the center window and the left menu and it looks weird if we add it to the left menu window.

I am not aware why the [self.view setBackgroundColor:[UIColor blackColor]]; was added, so please tell me if it is not possible.

kcharwood commented 9 years ago

You should have the ability to subclass and set it different as well since its just the view's background color.