iphoneiosipaduikituipopovercontroller

Transparent UIPopover


Is there a way to make the UIPopOver transparent (alpha = 0.75 or so). Unfortunately there is no alpha property for UIPopOver. I need to present a popover so that the view beneath it will still be partially visible. Any ideas


Solution

  • popoverController.contentViewController.view.alpha = 0.5;
    

    alpha is an property of an UIView so you need to get the view of the popOver and then set the alpha to that view.