Search results for

Apple Maps Guides

154,038 results found

Post

Replies

Boosts

Views

Activity

Mapping issue between physical buttons of the Matter switch and buttons on the Apple App
Hi, We are developing a Matter switch product. The switch contains 4 buttons, and each button supports click, double click, and held actions. Currently, the device can be successfully commissioned with a HomePod mini, and in the Apple Home app, it is displayed as 4 buttons with options for click, double click, and held for each. The only issue is that the order of the 4 buttons in the Home app does not correspond to the endpoint order (endpoint 1–4). For example, the following mapping might occur: endpoint 1 → button 2 endpoint 2 → button 3 ... We found a related issue on the Apple Developer Forums that matches what we're experiencing: https://developer.apple.com/forums/thread/772367?utm_source=chatgpt.com According to the official response, the problem seems to be caused by insufficient metadata being reported by the device. Could you please provide more specific guidance on what exact information needs to be reported from the device side? We have already tried adding the Fixed Lab
2
0
226
Jun ’25
points of interest on iOS10GM map
I have encountered a new behaviour on MKMapView on iOS10. Some of the points of intrest that up until now was only visible when turning on showsPointsOfInterest property are now constantly displayed on the map. mainly train stations and parks. is this behaviour by design? is there a way to remove this layer from the map?Help appreciated
3
0
1.1k
Sep ’16
How do I map() an array of dictionaries
I'm querying core data to get back my entries like this:let request = NSFetchRequest(entityName: TeamPerson) request.resultType = .DictionaryResultType request.returnsDistinctResults = true request.predicate = NSPredicate(format: team == %@, team) request.propertiesToFetch = [person.first, person.last, person.sql_ident] if let results = team.managedObjectContext?.executeFetchRequest(request, error: nil) as? [[String : AnyObject]] {So now I have an array of dictionary objects as the results variable. Now I want to pass that through map so that I get back a tuple with a formatted name and an integer. I tried this: results.map { (dict: [String : AnyObject]) in let formatted = Person.formattedNameWithFirst(dict[person.first], last: dict[person.last]) (formatted, dict[person.sql_ident]) }But the compiler complains that Cannot invoke 'map' with an argument list of type '(([String : AnyObject]) -> _)'
1
0
227
Jul ’15
Core Data Mapping Model
I'm using iOS 11 beta 5. After adding a model version and creating a custom mapping model, the constructor public init?(from bundles: [Bundle]?, forSourceModel sourceModel: NSManagedObjectModel?, destinationModel: NSManagedObjectModel?)always returns nil due to a mismatch between the mapping and the source/destination models. I didn't modify any model version after creating the mapping. Does anyone experience the same issue?
0
0
679
Aug ’17
attenuation map covers over object
hi, I'm trying to create a virtual movie theater, but after running computeDiffuseReflectionUVs.py and applying attenuation map, I noticed the light falloff effect just covers over the objects. I used apple provided attenuation map (did not specify the attenuation map name on python script) with sample size of 6000. I thought the python script would calculate vertices and create shadow for, say, back of the chairs. Am I understanding this wrong?
1
0
109
Apr ’25
Get coordinates in the onLongPressGesture on the Map
I've asked this question at SO, but there are no replies there, so I decided to give it a try here. Basically, I want to be able to capture the coordinates of a long press on the Map component (not the geo-coordinates - that's a separate task - just local to the app coordinates). The problem is that the .onLongPressGesture doesn't provide the coordinates of where the long press happened. .onTapGesture does - but I don't want to register taps, I want to register long presses. One of the work-arounds suggested at SO was to leverage the DragGesture, and it kinda works for other views, but when applied to a Map, it breaks the default dragging functionality of the Map component (so that it becomes impossible to scroll the map region). Also this work-around provides the coordinates only when the finger is released (at the end of the .onLongPressGesture), but I want to capture the long-press location before the finger was released (but after some time of holding, for example 1 sec
3
0
3.2k
Jun ’23
.navigationTitle and List misbehaving with a Map()
When navigated to another view with a NavigationStack or NavigationView, the .navigationTitle modifying a List or Form containing a Map() gets quirky when trying to show the title. The back button is displayed correctly, but the title does not follow the same color scheme as the List of Form, rather it is white with a divider underneath it. It's like it is confusing the .inline with the .large navigation display modes. This doesn't just show up in the simulator, but on actual devices too. This is a test main view... import SwiftUI struct ContentView: View { var body: some View { NavigationStack { NavigationLink(destination: MapErrorView()) { Text(Map View) } } } } This is a test navigated view... import SwiftUI import MapKit struct MapErrorView: View { var body: some View { NavigationStack { Form { Section(header: Text(Map of the US States)) { Text(Map Error) Map() .frame(height: 220) } } .navigationTitle(Map Error) .navigationBarTitleDisplayMode(.large) }
3
0
162
Jul ’25
app native maps in italy
Are there any known restrictions of viewing native apps in a specific country?We have an app that displays a native map and works fine in the UK, but we do not see the map when some in Italy or Dubai is using the app.Is there a reason for this in the OS or is this a setting in the app we need to specify?
0
0
245
Oct ’16
Apple Maps Not responding to scrolling, zooming, or tap gestures on custom pins
Scrolling and zooming I have two apps that utilize the Apple Maps and since I updated my xcode to use IOS18, some of the functionalities have either been missing or glitching, and when I roll back to IOS17.5, everything seems to work fine. When I use MKMapView and use mapView.isZoomEnabled = true mapView.isScrollEnabled = true Scrolling and zooming is still not working on IOS18 but IOS17.5 works fine. Clicking on custom annotations When I press on a custom annotation I add to the MapView, the gesture is sometimes recognized and most of the times not recognized. If I have 20 annotations, there is a possibility only 2 of them respond to tap gestures. Below is how I define the annotation. Annotation(Pin, coordinate: CLLocationCoordinate2D(latitude: latitude, longitude: longitude), anchor: .bottom) { Button(action: {print (Pressed annotation){ CustomPin() } }
0
0
386
Oct ’24