Transparent UIPopover

前端 未结 5 1319
野的像风
野的像风 2020-12-06 13:11

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 b

5条回答
  •  时光取名叫无心
    2020-12-06 14:07

    There is currently no property to set the alpha of a UIPopoverController.

    If you do: popoverController.contentViewController.view.alpha = 0.5;

    The inside view & content will be transparant and not the UIPopoverController itself.

    Related question

提交回复
热议问题