Search results for

“Apple Maps Guides”

163,175 results found

Post

Replies

Boosts

Views

Activity

SwiftUI MapKit Map - Selecting Points of Interest
Is it possible to let the user select points of interest on the Map, such as restaurants, grocery stores, gas stations etc. I want the user to be able to select these points of interest that are already on the map, not those that I add to the map. Is this possible with the SwiftUI version of the MapKit Map?
3
0
1.5k
Oct ’24
Hybrid Map displays oddly in Simulator
When displaying an Apple map within my app, the standard and satellite types of a fully zoomed-out view of North America both display perfectly on the Xcode Simulator, but the hybrid type is very different. The hybrid map shows up as a image with a dark gray background, with the names of the cities in the correct places, but only showing a jagged red line for some of the edges of the continents. Zooming in does not help. If I can find a way to post an image, I'll do so. I'm running Xcode version 7.0.1 (7A1001) on OS X Yosemite 10.10.5. Within Xcode, my deployment target is iOS 9.0 -- the problem still persists if i switch to iOS 8.0. Haven't gotten to the point where I can run the app on an actual device yet.
7
0
587
Oct ’15
iOS26 UINavigationController swipe from middle on maps causing issue
I have a UINavigation controller which on the second viewController has a Google Map view. In iOS 18 you would navigate normally around the map, and swipe your finger from the left side of the screen to move the map, this worked correctly. However, in iOS 26 swiping from left to right from anywhere but the far right side of the screen will cause the UI to try to pop the viewController. This does not happen when I add Apple Maps or other map frameworks to the VC. Is there a way to disable the swipe from middle in iOS 26?
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
281
Oct ’25
Adding a map to my project crashes
When adding a map anywhere in our project whether it be through a xib, storyboard or programmatically will crash the app. This crash occurs on a physical device. Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[VKMapView layer]: unrecognized selector sent to instance 0x109695d60' I'm using xcode 14.1 OS Ventura 13.0.1 MacBook Pro 16in 2019
1
0
644
Dec ’22
Map links/multiple points
I have a web page that I need to display multiple points on a map, and want to use the native app on the device if possible. I've read through:https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.htmlHowever, I don't see anyway to add multiple points, is there a way to do this? Just making sure I didn't miss something.Thanks
0
0
150
May ’16
Map size for MapKit JS on mobile
Hello, This code works fine for desktop, but it's very difficult to display user location, map type controls for mobile. The map's existence depends on the height property only. The controls depend on the width one. Although the algorithm is not clear. I see that the width must be more or equal to display width. It works for portrait, but not for landscape. How to get stable appearance of the controls for any cases? I used iPhone SE 1.
1
0
721
Jul ’21
Step-by-step guide for SecKeyCreateWithData from OpenSSL PEM?
A quick search for SecKeyCreateWithData reveals that it isn't the most straight-forward API to use for many Developers' use-cases ...https://forums.developer.apple.com/thread/102621https://forums.developer.apple.com/thread/72445It seems reasonable that Developers who wish to use ECDSA for any sort of server <==> iOS communication discrete data exchange should be able to simply:1. Fire up Terminal2. Create Private + Public ECDSA keys:# Generate an ECDSA Private key. openssl ecparam -genkey -name prime256v1 -out ec256-private.pem # Generate an ECDSA Public key. openssl ec -in ec256-private.pem -pubout -out ec256-public.pem3. <-- Follow some steps to use the Base64 .pem to create keys in iOS -->4. Use SecKeyCreateWithData, ex:let publicKey = SecKeyCreateWithData(pemData as CFData ...)@eskimo -- might you consider creating a step-by-step tutorial as to your / Apple's best recommendation on how to accomplish this?Your responsiveness on the forums is excellent, so thank you. It just seems that
4
0
5.2k
May ’18
Attaching custom depth map to an image
Hi,I am trying to attach a custom depth map as explained in this post:https://developer.apple.com/documentation/avfoundation/avdepthdata/creating_auxiliary_depth_data_manually?language=objcI converted the grayscale image to an NSData object and set in the kCGImageAuxiliaryDataInfoData Dictionary and i can save it successfully. But when i try to read it back its returns an invalid depth map.Note: the image is a single channel grayscale image which i extracted from a dual camera device. I now want to apply it to any image, just like DepthCam app on ios does. It allows the user to attach a depth map to any image from the roll and saves it as portrait mode supported image.Has any one been able to add a custom depth map successfully to an image?
1
0
1.3k
Apr ’19
How to detect MapKit Map panning/scrolling ended
Hello, I'm trying to figure out how to detect when user stops scrolling (panning) the map. The problem: I have a MapAnnotation that I want to always keep in the centre, even is user is panning/scrolling the map. When map is open first time, the original annotation location is user's current location. I request the name of the location to display it on top of the annotation. when user moves the map around, I want to track when he stop this action and select a location in the centre of map's new region and display the a location's name on top of the annotation I can't use .onChange() because region centre changes constantly as user moves the map, because it causes to many requests for location's name DragGesture .onEnded() is never called, so I have no idea when customer stops moving the map So my question is - how to detect in this case when customer stopped moving the map? Have anyone faced the same problem? Any ideas how to solve it?
3
0
2.4k
Apr ’23
Safari App Extension Programming Guide missing
The document Safari App Extension Programming Guide appears to be missing. The URL https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/SafariAppExtension_PG/ redirects to the SafariServices framework reference. The document was there a few weeks ago, and it was essential for creating my Safari app extension. Is this just a web site bug? Can the document be restored?
2
0
1.2k
May ’18
iOS 17 Map sits over TabView
I'm putting together a really simple demo/learning app to try out some of the new features of iOS 17, and I've found when adding a Map to an existing TabView, the map is extending itself over the tab, which is actually still visible and can be interacted with, but is basically hidden. There may be a modifier or something I'm missing to tell the map to stay in its frame, but I haven't found it. I have tried ones like safeAreaInsets, but that didn't seem to be right. Here's my super-simple view: TabView { Text(Not the map) .tabItem { Label(Not Map, systemImage: person) } Map() .tabItem { Label(Map, systemImage: map) } } And here's how it looks in the Simulator: I will file a feedback for this, but didn't want to too quickly assume it's a bug when it's just as likely I'm not doing something right (if not more so).
1
0
1.2k
Jul ’23
SwiftUI MapKit Map - Selecting Points of Interest
Is it possible to let the user select points of interest on the Map, such as restaurants, grocery stores, gas stations etc. I want the user to be able to select these points of interest that are already on the map, not those that I add to the map. Is this possible with the SwiftUI version of the MapKit Map?
Replies
3
Boosts
0
Views
1.5k
Activity
Oct ’24
Hybrid Map displays oddly in Simulator
When displaying an Apple map within my app, the standard and satellite types of a fully zoomed-out view of North America both display perfectly on the Xcode Simulator, but the hybrid type is very different. The hybrid map shows up as a image with a dark gray background, with the names of the cities in the correct places, but only showing a jagged red line for some of the edges of the continents. Zooming in does not help. If I can find a way to post an image, I'll do so. I'm running Xcode version 7.0.1 (7A1001) on OS X Yosemite 10.10.5. Within Xcode, my deployment target is iOS 9.0 -- the problem still persists if i switch to iOS 8.0. Haven't gotten to the point where I can run the app on an actual device yet.
Replies
7
Boosts
0
Views
587
Activity
Oct ’15
Why was the new Core Data guide only released with Objective-C code?
I'm surprised that Apple released the new Core Data guide with examples written only in Objective-C. I've been thinking in Swift idioms now for a while and it's hard to go back and forth. Please release the guide with Swift sample code.
Replies
2
Boosts
0
Views
159
Activity
Aug ’15
iOS26 UINavigationController swipe from middle on maps causing issue
I have a UINavigation controller which on the second viewController has a Google Map view. In iOS 18 you would navigate normally around the map, and swipe your finger from the left side of the screen to move the map, this worked correctly. However, in iOS 26 swiping from left to right from anywhere but the far right side of the screen will cause the UI to try to pop the viewController. This does not happen when I add Apple Maps or other map frameworks to the VC. Is there a way to disable the swipe from middle in iOS 26?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
281
Activity
Oct ’25
My Country Pakistan is not available in list. Anyone can guide please.?
Cant sign up as my Country Pakistan is not available in list. Anyone can guide please.?
Replies
4
Boosts
0
Views
1.6k
Activity
Nov ’16
Reply to How do you purchase and place an app on Apple?
Have you read any of Apple's documentation?I would start with the App Distribution Guide.
Replies
Boosts
Views
Activity
Sep ’15
Adding a map to my project crashes
When adding a map anywhere in our project whether it be through a xib, storyboard or programmatically will crash the app. This crash occurs on a physical device. Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[VKMapView layer]: unrecognized selector sent to instance 0x109695d60' I'm using xcode 14.1 OS Ventura 13.0.1 MacBook Pro 16in 2019
Replies
1
Boosts
0
Views
644
Activity
Dec ’22
Map links/multiple points
I have a web page that I need to display multiple points on a map, and want to use the native app on the device if possible. I've read through:https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.htmlHowever, I don't see anyway to add multiple points, is there a way to do this? Just making sure I didn't miss something.Thanks
Replies
0
Boosts
0
Views
150
Activity
May ’16
Map size for MapKit JS on mobile
Hello, This code works fine for desktop, but it's very difficult to display user location, map type controls for mobile. The map's existence depends on the height property only. The controls depend on the width one. Although the algorithm is not clear. I see that the width must be more or equal to display width. It works for portrait, but not for landscape. How to get stable appearance of the controls for any cases? I used iPhone SE 1.
Replies
1
Boosts
0
Views
721
Activity
Jul ’21
Step-by-step guide for SecKeyCreateWithData from OpenSSL PEM?
A quick search for SecKeyCreateWithData reveals that it isn't the most straight-forward API to use for many Developers' use-cases ...https://forums.developer.apple.com/thread/102621https://forums.developer.apple.com/thread/72445It seems reasonable that Developers who wish to use ECDSA for any sort of server <==> iOS communication discrete data exchange should be able to simply:1. Fire up Terminal2. Create Private + Public ECDSA keys:# Generate an ECDSA Private key. openssl ecparam -genkey -name prime256v1 -out ec256-private.pem # Generate an ECDSA Public key. openssl ec -in ec256-private.pem -pubout -out ec256-public.pem3. <-- Follow some steps to use the Base64 .pem to create keys in iOS -->4. Use SecKeyCreateWithData, ex:let publicKey = SecKeyCreateWithData(pemData as CFData ...)@eskimo -- might you consider creating a step-by-step tutorial as to your / Apple's best recommendation on how to accomplish this?Your responsiveness on the forums is excellent, so thank you. It just seems that
Replies
4
Boosts
0
Views
5.2k
Activity
May ’18
Attaching custom depth map to an image
Hi,I am trying to attach a custom depth map as explained in this post:https://developer.apple.com/documentation/avfoundation/avdepthdata/creating_auxiliary_depth_data_manually?language=objcI converted the grayscale image to an NSData object and set in the kCGImageAuxiliaryDataInfoData Dictionary and i can save it successfully. But when i try to read it back its returns an invalid depth map.Note: the image is a single channel grayscale image which i extracted from a dual camera device. I now want to apply it to any image, just like DepthCam app on ios does. It allows the user to attach a depth map to any image from the roll and saves it as portrait mode supported image.Has any one been able to add a custom depth map successfully to an image?
Replies
1
Boosts
0
Views
1.3k
Activity
Apr ’19
How to detect MapKit Map panning/scrolling ended
Hello, I'm trying to figure out how to detect when user stops scrolling (panning) the map. The problem: I have a MapAnnotation that I want to always keep in the centre, even is user is panning/scrolling the map. When map is open first time, the original annotation location is user's current location. I request the name of the location to display it on top of the annotation. when user moves the map around, I want to track when he stop this action and select a location in the centre of map's new region and display the a location's name on top of the annotation I can't use .onChange() because region centre changes constantly as user moves the map, because it causes to many requests for location's name DragGesture .onEnded() is never called, so I have no idea when customer stops moving the map So my question is - how to detect in this case when customer stopped moving the map? Have anyone faced the same problem? Any ideas how to solve it?
Replies
3
Boosts
0
Views
2.4k
Activity
Apr ’23
Safari App Extension Programming Guide missing
The document Safari App Extension Programming Guide appears to be missing. The URL https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/SafariAppExtension_PG/ redirects to the SafariServices framework reference. The document was there a few weeks ago, and it was essential for creating my Safari app extension. Is this just a web site bug? Can the document be restored?
Replies
2
Boosts
0
Views
1.2k
Activity
May ’18
App Clips: How are they associated with Maps places?
Hi there, I would like to understand the mechanism behind associating an App Clip to a Maps' Place. Is there documentation on it? Any other pointers or references? Thank you,
Replies
1
Boosts
0
Views
467
Activity
Jul ’20
iOS 17 Map sits over TabView
I'm putting together a really simple demo/learning app to try out some of the new features of iOS 17, and I've found when adding a Map to an existing TabView, the map is extending itself over the tab, which is actually still visible and can be interacted with, but is basically hidden. There may be a modifier or something I'm missing to tell the map to stay in its frame, but I haven't found it. I have tried ones like safeAreaInsets, but that didn't seem to be right. Here's my super-simple view: TabView { Text(Not the map) .tabItem { Label(Not Map, systemImage: person) } Map() .tabItem { Label(Map, systemImage: map) } } And here's how it looks in the Simulator: I will file a feedback for this, but didn't want to too quickly assume it's a bug when it's just as likely I'm not doing something right (if not more so).
Replies
1
Boosts
0
Views
1.2k
Activity
Jul ’23