Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    Betano expands FIFA World Cup presence through new 2026 tournament partnership

    May 19, 2026

    swift – Changing corner radius for popover modal UIViewController in iOS 26

    May 19, 2026

    Innovating at the Speed of Business: Announcing the Customer Achievement Awards AMER 2026 Finalists 

    May 19, 2026
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»swift – Changing corner radius for popover modal UIViewController in iOS 26
    iOS Development

    swift – Changing corner radius for popover modal UIViewController in iOS 26

    big tee tech hubBy big tee tech hubMay 19, 2026002 Mins Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    swift – Changing corner radius for popover modal UIViewController in iOS 26
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    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))
            }
        }
    

    enter image description here

    enter image description here



    Source link

    Changing corner iOS Modal popover radius Swift UIViewController
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    ios – Circular tick-ring briefly rotates backward once after app returns from background

    May 18, 2026

    xcode – What is the right version combination for navigation compose that works both on Android and iOS?

    May 17, 2026

    swift – How Do I Replicate the Exact Native iMessage Contact/Profile Transition Animation in iOS?

    May 16, 2026
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Betano expands FIFA World Cup presence through new 2026 tournament partnership

    May 19, 2026

    swift – Changing corner radius for popover modal UIViewController in iOS 26

    May 19, 2026

    Innovating at the Speed of Business: Announcing the Customer Achievement Awards AMER 2026 Finalists 

    May 19, 2026

    Google and SpaceX discuss orbital AI data centres

    May 18, 2026
    Timer Code
    15 Second Timer for Articles
    20
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    Betano expands FIFA World Cup presence through new 2026 tournament partnership

    May 19, 2026

    swift – Changing corner radius for popover modal UIViewController in iOS 26

    May 19, 2026

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2026 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.