Search results for

“Apple Maps Guides”

155,834 results found

Post

Replies

Boosts

Views

Activity

Tap on maps to get coordinates
Hey guys, I recently started using Swiftui and would like to make a small app for my dad to use as a travel journal as my first project. He can create trips and then create multiple steps in a trip. When creating a step he should be able to set a location. Finding the location from the user is no problem. But now I also want to have the function to tap on the map and set a pin at a random location to get the coordinates (like google maps for example). Unfortunately I can't figure out from the documentation if there is a simple way to do this. import SwiftUI import MapKit struct StepLocationView: View { @EnvironmentObject var locationManagement: LocationDataManager @State private var position: MapCameraPosition = .automatic var body: some View { VStack { Map(position: $position) { UserAnnotation() } .navigationTitle(Search your location) .navigationBarTitleDisplayMode(.inline) .toolbarBackground(.visible, for: .navigationBar) .toolbarBackground(.ultraThinMaterial, for: .navigationBar
3
0
3.9k
Jul ’23
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
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
Using Maps in App Intents
I want to use MapKit with App Intents, but the map does not show up.(See attached image) Can anyone help me solve this? import SwiftUI import MapKit struct ContentView: View { @State private var region = MKCoordinateRegion( center: CLLocationCoordinate2D(latitude: 37.334_900, longitude: -122.009_020), latitudinalMeters: 750, longitudinalMeters: 750 ) var body: some View { VStack { Map(coordinateRegion: $region).frame(width:300, height:300) .disabled(true) } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } } import AppIntents import SwiftUI import MapKit struct test20220727bAppIntentsExtension: AppIntent { static var title: LocalizedStringResource = test20220727bAppIntentsExtension func perform() async throws -> some IntentResult { return .result(value: aaa, view: ContentView()) } } struct testShortcuts:AppShortcutsProvider{ @available(iOS 16.0, *) static var appShortcuts: [AppShortcut]{ AppShortcut( intent: test20220727bAppIntentsExtensio
2
0
1.3k
Jul ’22
How can I zoom a map to fit a polyline
HiI have a mapview on which I'm drawing a polyline representing the users journey using location services. After the journey has been saved, and the user reopens it, I'm displaying the route that was taken. I would very much like to zoom the map to fit the entire polyline when the view is loaded. I've had no luck searching Google or the forums.Does anyone know how I can achive this?Thanks in advance...
3
0
4.8k
Feb ’18
Apple maps listing shows info for a completely different business even though everything is correctly setup
Our Apple maps listing shows that information for a completely different business including critical aspects like the website and photos. There's even a prompt to download the app of another business. There's nowhere in the Apple Business Register to change these things, where do I go? I already reported an issue but even there you can only request to change the website URL. It also incorrectly says we're permanently closed even though we have it marked as open in the Apple Business Register. The only correct things are the phone number and address. How do I fix this? Apple support hasn't gotten back to me in almost 2 weeks and this. is very urgent. Thank you!
0
0
644
Jan ’23
Where is the living auto-layout guide now located?
The Auto Layout Guide has been archived and is no longer being updated. This is the old link https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/index.htmlBut the webpage says IMPORTANTThis document is no longer being updated. For the latest information about Apple SDKs, visit the documentation website.However, where is the auto-layout information? I don't see the auto-layout documentation in https://developer.apple.com/documentation.
3
0
1.1k
Jul ’18
Putting buttons over SwiftUI map view
Has anyone gotten custom buttons to work on top of tvOS Map()? I've tried many variations of FocusState focusSection .defaultFocus() and as soon as the map appears at startup the buttons never get focus again. They are on a ZStack over the map. I could post code but truthfully nothing works for me. I'm wondering if anyone has successfully put focusable buttons on top of the map view.
0
0
253
Mar ’25
how do I make scrollable map in game?
HiI would like to make a game similar to Clash of Clans in which the user can use thier fingers to scroll around a world map, zoom in, and zoom out. Yes, this is a beginner question, but I don't know where to start learning how to write Swift code for this idea.Please let me know if there are any good online video tutorials that teach how to build this concept.Thank you in advance!-David
2
0
2.6k
Jun ’17
Hiding the map layer in MKMapView
I want to use an MKMapView only for its capabilities to render geometries such as polylines and polygons. I want to hide all map features completely. Unfortunately there doesn't seem to be an easy way to do this. I tried using a custom tile renderer that just renders a gray tile, but I get a lot of artifacts when panning and zooming (see screenshot at https://ibb.co/VJZwbsN).Is there any better way to achieve this?
0
0
690
Jun ’20
How to use map/flatmap for conversion?
I'm stumped so posting here.I have some vendor code that supplies a dictionary: [String: [String: Obj]], where Obj is a ObjC object with a tag and value, both are strings. I'd love to use a higher level Swift library method to do the following: var dict: [String: String] = [:] input.forEach() { (key, obj) in dict[obj.tag] = obj.value }Can I use map for this? [I tried to get it but no luck.]
5
0
749
Aug ’18
Tap on maps to get coordinates
Hey guys, I recently started using Swiftui and would like to make a small app for my dad to use as a travel journal as my first project. He can create trips and then create multiple steps in a trip. When creating a step he should be able to set a location. Finding the location from the user is no problem. But now I also want to have the function to tap on the map and set a pin at a random location to get the coordinates (like google maps for example). Unfortunately I can't figure out from the documentation if there is a simple way to do this. import SwiftUI import MapKit struct StepLocationView: View { @EnvironmentObject var locationManagement: LocationDataManager @State private var position: MapCameraPosition = .automatic var body: some View { VStack { Map(position: $position) { UserAnnotation() } .navigationTitle(Search your location) .navigationBarTitleDisplayMode(.inline) .toolbarBackground(.visible, for: .navigationBar) .toolbarBackground(.ultraThinMaterial, for: .navigationBar
Replies
3
Boosts
0
Views
3.9k
Activity
Jul ’23
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
Reply to Is it possible to contact all users of an app (in exceptional circumstances only)?
I strongly suggest you consider adding support for Apple Maps, even if only as a fallback. Apple Maps is free and you can reasonably assume it will always be available. But any 3rd party service is going to be contingent on their service being active and your account being in good standing.
Replies
Boosts
Views
Activity
Jan ’18
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
Reply to Links not clickable in iMessage app
I have the same problem with Apple Maps in message.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’21
Using Maps in App Intents
I want to use MapKit with App Intents, but the map does not show up.(See attached image) Can anyone help me solve this? import SwiftUI import MapKit struct ContentView: View { @State private var region = MKCoordinateRegion( center: CLLocationCoordinate2D(latitude: 37.334_900, longitude: -122.009_020), latitudinalMeters: 750, longitudinalMeters: 750 ) var body: some View { VStack { Map(coordinateRegion: $region).frame(width:300, height:300) .disabled(true) } } } struct ContentView_Previews: PreviewProvider { static var previews: some View { ContentView() } } import AppIntents import SwiftUI import MapKit struct test20220727bAppIntentsExtension: AppIntent { static var title: LocalizedStringResource = test20220727bAppIntentsExtension func perform() async throws -> some IntentResult { return .result(value: aaa, view: ContentView()) } } struct testShortcuts:AppShortcutsProvider{ @available(iOS 16.0, *) static var appShortcuts: [AppShortcut]{ AppShortcut( intent: test20220727bAppIntentsExtensio
Replies
2
Boosts
0
Views
1.3k
Activity
Jul ’22
Reply to MapKit JS Select Annotation Programmatically
I read that. The description `A Boolean value indicating whether the annotation is selected` also lead me to think it was read only. I have really enjoyed Apple Maps though after switching from Google Maps.
Replies
Boosts
Views
Activity
Apr ’19
How can I zoom a map to fit a polyline
HiI have a mapview on which I'm drawing a polyline representing the users journey using location services. After the journey has been saved, and the user reopens it, I'm displaying the route that was taken. I would very much like to zoom the map to fit the entire polyline when the view is loaded. I've had no luck searching Google or the forums.Does anyone know how I can achive this?Thanks in advance...
Replies
3
Boosts
0
Views
4.8k
Activity
Feb ’18
Indoor Maps client is wanting to know a timeline
We developed an IMDF indoor map for a client (paid work) which we submitted to Apple a few months ago. Our client is wondering how many months the approval process will take. Also, we would like to get paid for the work. Any estimate from that team would be appreciated. Thank you
Replies
4
Boosts
0
Views
331
Activity
Sep ’25
Apple maps listing shows info for a completely different business even though everything is correctly setup
Our Apple maps listing shows that information for a completely different business including critical aspects like the website and photos. There's even a prompt to download the app of another business. There's nowhere in the Apple Business Register to change these things, where do I go? I already reported an issue but even there you can only request to change the website URL. It also incorrectly says we're permanently closed even though we have it marked as open in the Apple Business Register. The only correct things are the phone number and address. How do I fix this? Apple support hasn't gotten back to me in almost 2 weeks and this. is very urgent. Thank you!
Replies
0
Boosts
0
Views
644
Activity
Jan ’23
Where is the living auto-layout guide now located?
The Auto Layout Guide has been archived and is no longer being updated. This is the old link https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/AutolayoutPG/index.htmlBut the webpage says IMPORTANTThis document is no longer being updated. For the latest information about Apple SDKs, visit the documentation website.However, where is the auto-layout information? I don't see the auto-layout documentation in https://developer.apple.com/documentation.
Replies
3
Boosts
0
Views
1.1k
Activity
Jul ’18
Putting buttons over SwiftUI map view
Has anyone gotten custom buttons to work on top of tvOS Map()? I've tried many variations of FocusState focusSection .defaultFocus() and as soon as the map appears at startup the buttons never get focus again. They are on a ZStack over the map. I could post code but truthfully nothing works for me. I'm wondering if anyone has successfully put focusable buttons on top of the map view.
Replies
0
Boosts
0
Views
253
Activity
Mar ’25
how do I make scrollable map in game?
HiI would like to make a game similar to Clash of Clans in which the user can use thier fingers to scroll around a world map, zoom in, and zoom out. Yes, this is a beginner question, but I don't know where to start learning how to write Swift code for this idea.Please let me know if there are any good online video tutorials that teach how to build this concept.Thank you in advance!-David
Replies
2
Boosts
0
Views
2.6k
Activity
Jun ’17
Hiding the map layer in MKMapView
I want to use an MKMapView only for its capabilities to render geometries such as polylines and polygons. I want to hide all map features completely. Unfortunately there doesn't seem to be an easy way to do this. I tried using a custom tile renderer that just renders a gray tile, but I get a lot of artifacts when panning and zooming (see screenshot at https://ibb.co/VJZwbsN).Is there any better way to achieve this?
Replies
0
Boosts
0
Views
690
Activity
Jun ’20
How to use map/flatmap for conversion?
I'm stumped so posting here.I have some vendor code that supplies a dictionary: [String: [String: Obj]], where Obj is a ObjC object with a tag and value, both are strings. I'd love to use a higher level Swift library method to do the following: var dict: [String: String] = [:] input.forEach() { (key, obj) in dict[obj.tag] = obj.value }Can I use map for this? [I tried to get it but no luck.]
Replies
5
Boosts
0
Views
749
Activity
Aug ’18