How to change Modal background color to transparent in Objective-C
I would like to have a modal view with a transparent background color, so that the view behind it can be seen by user. iOS doesn't support transparency when presenting a view modally. Okay, so presentModalViewController doesn't offer this behavior... However it is still possible. I've created a category that works for me (and hopefully you). As an added bonus, it also prevents crashes related to dismissing and presenting modal views at the same time! Header file: // // UIViewController+overView.h // Created by Kevin Lohman on 5/30/12. // #import <UIKit/UIKit.h> @interface UIViewController