I am using a UIPopoverController to display a UIView. The layout is somewhat similar to a UISplitViewController so it is very strange
UIPopoverController
UIView
UISplitViewController
For anyone who uses UIPopoverPresentationController, the following should work.
UIPopoverPresentationController
override open func viewWillAppear(_ animated: Bool) { super.viewWillAppear(animated) view.superview?.layer.cornerRadius = 0 }