I used IB to create a segue to represent another popover view.
I added code in prepareForSegueto remove the UIPopoverPresentationControllerDelegate for the initial controller.
And I set the presentation style:
func adaptivePresentationStyleForPresentationController(controller: UIPresentationController,
traitCollection: UITraitCollection) -> UIModalPresentationStyle {
return UIModalPresentationStyle.None
}
This gives me a nice standard popover.
However, I want to make a translucent popover.
I tried a couple of things:
- I set the background color to IB for "cleaning"
- I tried setting alpha in popover view
source
share