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

    Tailoring nanoscale interfaces for perovskite–perovskite–silicon triple-junction solar cells

    October 13, 2025

    SGLA criticizes California Governor Newsom for signing ‘flawed, rushed’ sweepstakes ban

    October 13, 2025

    Gesture Recognition for Busy Hands

    October 13, 2025
    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»ios – How to remove “Build route” button from MapKit Map in SwiftUI
    iOS Development

    ios – How to remove “Build route” button from MapKit Map in SwiftUI

    big tee tech hubBy big tee tech hubSeptember 12, 2025001 Min Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    ios – How to remove “Build route” button from MapKit Map in SwiftUI
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    I am trying to implement route planning via Google Maps and Waze, but my map keeps showing a button that takes me to the Maps app and allows me to plan the route there.
    I couldn’t find anything on Google and none of the video tutorials have this button.

    iOS 18.1

    Here is my code:

        var body: some View {
        Map(coordinateRegion: .constant(region))
            .frame(height: UIScreen.main.bounds.width * 0.7)
            .frame(maxWidth: .infinity)
    }
    

    enter image description here

    I also tried adding a button above this button, but for some reason it still ended up below it.

    enter image description here

     var body: some View {
        ZStack(alignment: .bottomTrailing) {
            Map(coordinateRegion: .constant(region))
                .frame(height: UIScreen.main.bounds.width * 0.7)
                .frame(maxWidth: .infinity)
            Button {
                print("Tapped")
            } label: {
                Image(systemName: "car.fill")
                    .padding()
                    .background(.white)
                    .tint(.secondary)
                    .clipShape(Circle())
                    .shadow(color: .black.opacity(0.7), radius: 6, x: 0, y: 2)
            }
        }
    }
    

    Is there any way to implement this feature?



    Source link

    build button iOS map MapKit remove route SwiftUI
    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 – Apple mapkit route function dose not works in China

    October 12, 2025

    swift – Does UIDevice.current.identifierForVendor change after iCloud backup and restore on another iOS device?

    October 11, 2025

    uitabbarcontroller – How to add custom UIView to floating UITabBarItem in iOS 26 Liquid Glass UITabBar

    October 10, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Tailoring nanoscale interfaces for perovskite–perovskite–silicon triple-junction solar cells

    October 13, 2025

    SGLA criticizes California Governor Newsom for signing ‘flawed, rushed’ sweepstakes ban

    October 13, 2025

    Gesture Recognition for Busy Hands

    October 13, 2025

    Inside the ‘Let’s Break It Down’ Series for Network Newbies

    October 13, 2025
    Advertisement
    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!

    Tailoring nanoscale interfaces for perovskite–perovskite–silicon triple-junction solar cells

    October 13, 2025

    SGLA criticizes California Governor Newsom for signing ‘flawed, rushed’ sweepstakes ban

    October 13, 2025

    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
      © 2025 bigteetechhub.All Right Reserved

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