How to prevent dark overlay when presenting a UIPopoverController

Posted by weiran on Stack Overflow See other posts from Stack Overflow or by weiran
Published on 2013-11-08T15:51:43Z Indexed on 2013/11/08 15:53 UTC
Read the original article Hit count: 688

Filed under:
|
|

In iOS 7, when I present a UIPopoverController by:

[self.popoverController presentPopoverFromRect:rect 
                                        inView:self.view 
                      permittedArrowDirections:arrowDirections 
                                      animated:animated];

The superview it's presented from has a dark overlay applied to it as dimming effect:

example image

How can I remove this dark overlay from the background view?

© Stack Overflow or respective owner

Related posts about ios

Related posts about objective-c