I’ve an iOS app written in Swift (with UIKit and largely IB) that makes use of the popover modal presentation type in a few locations with arrows pointing to the originating object. The subviews are all positioned with constraints that reference the view’s secure space. Till iOS26 this appeared fantastic (see 1st display screen shot), however iOS26 makes use of "capsule" corners for popover displays, and it is crowding the subviews on the prime (see 2nd display screen shot). One thing related occurs for UIButtons in iOS26 however I can configure in that IB or in code. I have never discovered a workaround that works for popovers. I’ve tried the next code in my popover’s view controller class, however that does not repair the problem (the view controller appears to be embedded in a popover view container that is rounding the corners). I’ve additionally questioned if iOS has an alternative choice to the view’s secure space that will mirror the lack of actual property within the corners so I might use constraints to inset my controls appropriately, however I have never come throughout something like that. Can anybody assist level me in the correct route?
I hate the capsule design, btw 🤮
class DataCardSelect : UIViewController, ... {
...
override func viewDidLoad() {
tremendous.viewDidLoad()
...
if #out there(iOS 26.0, *) {
// tried this, however it would not work
view.cornerConfiguration = .corners(radius: .fastened(0))
}
}



