I have an iOS app written in Swift (with UIKit and mostly IB) that uses the popover modal presentation style in a couple of places with arrows pointing to the originating object. The subviews are all placed with constraints that reference the view’s safe area. Until iOS26 this looked fine (see 1st screen shot), but iOS26 uses “capsule” corners for popover presentations, and it’s crowding the subviews at the top (see 2nd screen shot). Something similar happens for UIButtons in iOS26 but I can configure in that IB or in code. I haven’t found a workaround that works for popovers. I’ve tried the following code in my popover’s view controller class, but that doesn’t fix the issue (the view controller seems to be embedded in a popover view container that’s rounding the corners). I’ve also wondered if iOS has an alternative to the view’s safe area that would reflect the loss of real estate in the corners so I could use constraints to inset my controls appropriately, but I haven’t come across anything like that. Can anyone help point me in the right direction?
I hate the capsule design, btw 🤮
class DataCardSelect : UIViewController, ... {
...
override func viewDidLoad() {
super.viewDidLoad()
...
if #available(iOS 26.0, *) {
// tried this, but it doesn't work
view.cornerConfiguration = .corners(radius: .fixed(0))
}
}

