Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
0 answers
82 views

I am currently using CLGeocoder in weather app on iOS to handle user's location queries. I then use the region property of the resulting CLPlacemark objects to obtain the region corresponding to the ...
Advice
0 votes
5 replies
63 views

I am exploring the use of drag gestures. Below is a small test code to see what happens and because I want to know the location on the screen / map. The first time I drag, it works fine, but when I ...
Best practices
1 vote
0 replies
46 views

I had an app where, based on the users location, his/her sublocality was displayed. func getUserSubLocality() async { do { if let request = MKReverseGeocodingRequest(location: userLocation)...
SPR's user avatar
  • 43
Best practices
0 votes
0 replies
51 views

I’m building a full-screen Map (MapKit + SwiftUI) with persistent top/bottom chrome (menu buttons on top, session stats + map controls on bottom). I have three working implementations and I’d like ...
Jad's user avatar
  • 166
0 votes
2 answers
245 views

I am trying to create a resizable split view in SwiftUI where a Map is on top and a List(which will contain locations later) is on the bottom, separated by a draggable handle. The user should be able ...
0 votes
1 answer
138 views

I am trying to display a map with custom annotations (pins) and custom callout views in SwiftUI. My Goal: A user taps on a map pin. A custom callout view appears above the pin. This callout view ...
2 votes
1 answer
276 views

When a onTapGesture is applied to Map the gesture does not respond in iOS26. e.g import SwiftUI import MapKit struct ContentView: View { var merp: String { if #available(iOS 26.0, *) ...
2 votes
1 answer
180 views

I named this issue similarly to something I found on Reddit, but in my case the problem occurs in a different situation and I’d like to find out how to fix it and why it happens. link Steps to ...
0 votes
0 answers
179 views

Using apple's mapkit, MKPointOfInterestCategory, the only closest subcategory to being able to identify busstops/ train stations is 'public transport' However, in apple maps, upon 'search>find ...
1 vote
2 answers
193 views

With the following piece of code: import SwiftUI import MapKit struct ContentView: View { private static let initialLocation = CLLocationCoordinate2D(latitude: 46, longitude: 9) @...
-1 votes
1 answer
300 views

In iOS 26 i have an issue with mapKit. i created a custom annotation using "MKMarkerAnnotationView", it works fine with current stable iOS versions (15 to 18) but with iOS 26 the default ...
1 vote
0 answers
22 views

There doesnt appear to be anything in the docs, but when using the Muted view for MapKit, it doesnt show traffic. When you use default or hybrid its fine. XCode 26 Beta 3, iOS26 Public Beta // this ...
lcpassage's user avatar
1 vote
2 answers
112 views

I'm working on a bike application and wanted to use MapKit MKDirections to calculate some routes, on the official Apple documentation, the cycling MKDirectionsTransportType seems to be available from ...
0 votes
1 answer
85 views

I recently post a question about having clickable marker on a map thanks to annotations here. With the popup, the annotation is never at the right position, which make the shadow be at different ...
Elikill58's user avatar
  • 5,047
0 votes
1 answer
73 views

How to make annotation popup without using fixed frame width/height?

I'm using Swift and MapKit, and I want to show popup like this (when you click on the marker) : With: A text that correspond to a header (background in brown) that should take the full width of the ...
Elikill58's user avatar
  • 5,047

15 30 50 per page
1
2 3 4 5
...
400

AltStyle によって変換されたページ (->オリジナル) /