Close Menu
geekfence.comgeekfence.com
    What's Hot

    50 Years of The Institute

    June 7, 2026

    M&A Monthly: May/June 2026

    June 7, 2026

    This Week in AI: Production Viability – O’Reilly

    June 7, 2026
    Facebook X (Twitter) Instagram
    • About Us
    • Contact Us
    Facebook Instagram
    geekfence.comgeekfence.com
    • Home
    • UK Tech News
    • AI
    • Big Data
    • Cyber Security
      • Cloud Computing
      • iOS Development
    • IoT
    • Mobile
    • Software
      • Software Development
      • Software Engineering
    • Technology
      • Green Technology
      • Nanotechnology
    • Telecom
    geekfence.comgeekfence.com
    Home»iOS Development»ios – SwiftUI Map View freezes when there is no network
    iOS Development

    ios – SwiftUI Map View freezes when there is no network

    AdminBy AdminJune 7, 2026No Comments2 Mins Read2 Views
    Facebook Twitter Pinterest LinkedIn Telegram Tumblr Email
    ios – SwiftUI Map View freezes when there is no network
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Map View in SwiftUI freezes, or stops receiving touch events when there is no internet connection. Any interaction, like zoom, pan and rotate stops working, but the map itself seems to be working, as if for example I can add a MapPolyline and update it, but the map is still not responsive.

    To clarify, I don’t mind that the map itself is empty, as in without tiles, given that there is no internet connection that is expected, but I would still like to be able to interact with the map.

    This was working properly on iOS 17 and 18 but seems to have stopped working on iOS 26.

    Ps: I noticed that this is more prominent when there is no cache of map tiles. MapKit has an internal cache, so if you access a map but have no internet connection you may still be able to see a map as if you had a working connection, this is because maybe you previously used the map and this got cached. When there are some tiles loaded the map view seems to work as expected, but when the map is fully empty it freezes.

    Example

    A map view with not tiles, no map visible

    • SwiftUI

    • MapKit

    • iOS 26

    • Swift 6.3



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Swift Cross Platform | Cocoanetics

    June 3, 2026

    Is there any way to redeem in-app purchases in iOS apps as the developer of the app?

    June 2, 2026

    An Interpreter for Swift | Cocoanetics

    May 29, 2026

    ios – Why does the view’s internal state is not updated for first mutation when doing it via an Computed Binding

    May 28, 2026

    Agentic Bash | Cocoanetics

    May 24, 2026

    ios – App Store search indexing lost after submitting a new binary. App accessible via direct link but not appearing in search results

    May 23, 2026
    Top Posts

    Understanding U-Net Architecture in Deep Learning

    November 25, 202546 Views

    Hard-braking events as indicators of road segment crash risk

    January 14, 202630 Views

    Redefining AI efficiency with extreme compression

    March 25, 202627 Views
    Don't Miss

    50 Years of The Institute

    June 7, 2026

    The Institute is celebrating its 50th anniversary this year. Launched in 1976, the publication was…

    M&A Monthly: May/June 2026

    June 7, 2026

    This Week in AI: Production Viability – O’Reilly

    June 7, 2026

    Google’s Open-Source Multimodal AI Explained

    June 7, 2026
    Stay In Touch
    • Facebook
    • Instagram
    About Us

    At GeekFence, we are a team of tech-enthusiasts, industry watchers and content creators who believe that technology isn’t just about gadgets—it’s about how innovation transforms our lives, work and society. We’ve come together to build a place where readers, thinkers and industry insiders can converge to explore what’s next in tech.

    Our Picks

    50 Years of The Institute

    June 7, 2026

    M&A Monthly: May/June 2026

    June 7, 2026

    Subscribe to Updates

    Please enable JavaScript in your browser to complete this form.
    Loading
    • About Us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • Terms and Conditions
    © 2026 Geekfence.All Rigt Reserved.

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