Search results for

“Apple Maps Guides”

155,799 results found

Post

Replies

Boosts

Views

Activity

Reply to Layout constraints don't work in storyboard's second scene
I've appended the code for GameController.swift below. To actually reproduce the bug, you need an image file Card Back.png in the project. It has a resolution of 672x1038 pixels.Create a new iOS Swift Single View Application project.Add Game Controller.swift and Card Back.png to it.In IB, change the view controller class to GameController.Drag a second view controller into the story board and change its class to GameController, too.Create a seque from the first to the second scene. (I added a Tap Gesture Recognizer to the first scene and created a Present Modally seque to the second scene; a Push/Show seque will give the same result.)Run the app on the iPhone simulator. You will see a 5x6 grid of copies of the Card Back image.Tap anywhere on the view to present the second scene.You will see part of one really big card back image.If you do Debug > View Debugging > Capture View Hierarchy and click Show Clipped Content, you will see that there is actually a grid of 672x1038 image views, which obviously doe
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’16
Swiftui Map Leagal Text is transformed when rotationEffect is applied to Map
I have a problem when applying rotationEffect to a map in in SwiftUI. The legal text in the map is transformed as shown in this image: The following code is part of a much larger and complex view; it is a minimal example to reproduce the error: import SwiftUI import MapKit struct ContentView: View { @State private var offset = CGSize.zero var body: some View { ZStack { let drag = DragGesture() .onChanged { g in offset.width = g.translation.width offset.height = g.translation.height } Map(interactionModes: [.zoom]) .frame(width: 320, height: 220) .rotationEffect(.degrees(Double(offset.width / 12))) .highPriorityGesture(drag) } } } I hope you can help me with this problem.
2
0
155
Feb ’26
showing route taken during walk or run on map.
Hi, I want user to be able to see the route he takes during walk or run on a map, while he is walking and after in history. I have got the users location and loaded a map. From what i have read, i'lll have to continuously annotate the map with a marker while the user is walking or running. But I don't clearly understand the MapKit apis for annotation and annotation view. Can someone guide me how to go about it. I just need an overview. Thanks
1
0
525
Aug ’20
Reply to Should I update to 10.15?
It would be best to install 10.15 on a properly formatted (APFS with a GUID Partition Map) external drive. You would be able to boot from it when you want to experiment with 10.15. Then you could always boot back to your internal drive (probably running Mojave) without fear of messing it up. A small SSD external drive would give you the best speed.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’19
Maps and Location issue
If I use Maps or a program that must somehow use my location, is there any way that an app or the Apple IOS could NOT disclose my location? I need a way to find destinations, but not disclose my location. Can that be developed? Or, for whatever reason, can you say you are in a certain location when you are not? It kind of defeats the purpose, but....
0
0
310
Feb ’17
SwiftUI Map Annotation Clustering
I am creating an application which utilizes SwiftUI and Apple's MapKit api. The goal is to create a map with custom annotations, I have been successful in this quest however I am having issues with Map Annotation Clustering. I suppose what I'm looking to determine is if I am required to use UIKit with MKMapView in hopes to be able to create clustering map annotations or if there is a method utilizing the above aforementioned SwiftUI Map Struct along slide the MapAnnotation Struct to complete this task?
1
0
3k
Jul ’21
google maps error
Hello!We have an ecommerce site that has a link to a location on google maps. If this is tried to open on any iphone or ipad that does not have the google maps app downloaded, an error message pops up that says Safari can not open the page because the address is invalid. The location on the map is loaded behind the message and if you press okay the message goes away but this is a bad user experience. If the user has the google maps app then this error does not occur. Has any one else encountered this problem or found a fix for it?Thanks!
Topic: Safari & Web SubTopic: General Tags:
0
0
588
Jun ’15
Reply to Searching Apple Maps
I would like to complain of Apple Map inaccuaracy! 95% of people who using APple Map and coming to my office were guided to another city. Its 1755 E Huntington Dr, Duarte, California 91010. Apple Map guided to Monrovia City! It's annoying and I am loosing cumtomers because of Apple Map inaccuracy!
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’16
Reply to Mapping model not found if the attribute has "Preserve after deletion" enabled
You made it clear that you probably couldn't move away from custom mapping models, but for the awareness of other folks, I'd still mention that using custom mapping models is now discouraged, as discussed here. To to comment your question, every time you change your model version, you need to regenerate the model mapping file so the version hashes are matched. You can do so by executing Xcode File > New > File From Tempdate... menu, pick Core Data > Mapping Model in the new file template sheet and then follow the guide to finish that. If you do re-create the mapping model after changing the model, but still see the “can't find mapping model for migration error, it may be that Xcode fails to create the mapping model with the right hashes, which will be an Xcode bug. In that case, you can probably work around the issue by tweaking the mapping model with your own code. To do that: Figure out the version hashes of the entiti
Feb ’25
Reply to Is possible to extract Assets.Car and Unix Executable file .ipa file
These two files consume more memory compare than others. So i want to extract/validate the content in that.I can’t really help on the asset catalogue stuff — that’s outside of my area of expertise — but I can offer some guidance with regards your executable.You can poke around inside a Mach-O image using tools like nm, otool and size (see their man pages for more info) but I find it’s better to come at this from the build side. My weapon of choice here is the link map, which lists every symbol included in your Mach-O and its size. To create this link map, set the Write Link Map ( LD_GENERATE_MAP_FILE) build setting. Once you have this map, first use it to verify that your Mach-O doesn’t include extraneous stuff. If it does, you can then investigate why it’s not being stripped out. After that, you can process the data to determine what’s contributing most to the size and use that to guide your optimisations.Share and Enjoy — Quinn “The Eskimo!” Apple Develo
Apr ’20
Map snapshot as overlay
HiI’m working on a map based app for doing geographical surveys which will be used in locations where internet connectivity doesn’t exist. This is my first app so I’m learning as I go.I understand that I can take snapshots of a map (while on-line of course) and am wondering if it’s feasible/allowed to save these images and use them later as overlays when there is no data connection. My questions then are:a) is this a valid approach?b) when capturing the map image would the region details be available so it can be used as a tile/overlay?I‘ve discussed using open street map tiles with a non-developer friend who has sveral years experience with them as a user and have been told they can be problematic at best. Also, I’d very much like to avoid using third party functionality.Thanks very muchMark
1
0
876
Apr ’18
Apple Maps URL scheme daddr=lat,long no longer working – regression?
Hello, I'm experiencing an issue with the Apple Maps URL scheme when using raw latitude and longitude coordinates in the daddr parameter. Until recently, using a URL like this worked reliably: https://maps.apple.com/?daddr=37.7749,-122.4194 This would open Apple Maps and show directions from the current location to the specified coordinates. However, on recent iOS versions, this URL no longer behaves as expected.
1
0
259
May ’25
Select a map area?
Hi,I've been asked to create a map view that allows the user to select an area on the map. Ideally, we want the user to be able to describe a rectangular area by dragging and resizing a semi-transparent rectangle, while simultaneously retaining the ability to drag and resize the map itself.What I'd like to do would be similar to the Find Friends app when you set notifications, except Find Friends only lets you define a circular area and I don't think you can move the area other than by typing in a new address.Are there controls like this built in to the map view? If not, would I be able to roll my own fairly easily or is this a complicated and/or impossible task?I know how to track touches and draw shapes, and I'm pretty sure I could build a separate overlay view that provides these UI elements, but I'm not immediately seeing how I'd keep my view in sync with the map view (i.e. scrolling my view when the map scrolls).Thanks,Frank
0
0
475
Feb ’18
Reply to Layout constraints don't work in storyboard's second scene
I've appended the code for GameController.swift below. To actually reproduce the bug, you need an image file Card Back.png in the project. It has a resolution of 672x1038 pixels.Create a new iOS Swift Single View Application project.Add Game Controller.swift and Card Back.png to it.In IB, change the view controller class to GameController.Drag a second view controller into the story board and change its class to GameController, too.Create a seque from the first to the second scene. (I added a Tap Gesture Recognizer to the first scene and created a Present Modally seque to the second scene; a Push/Show seque will give the same result.)Run the app on the iPhone simulator. You will see a 5x6 grid of copies of the Card Back image.Tap anywhere on the view to present the second scene.You will see part of one really big card back image.If you do Debug > View Debugging > Capture View Hierarchy and click Show Clipped Content, you will see that there is actually a grid of 672x1038 image views, which obviously doe
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’16
Swiftui Map Leagal Text is transformed when rotationEffect is applied to Map
I have a problem when applying rotationEffect to a map in in SwiftUI. The legal text in the map is transformed as shown in this image: The following code is part of a much larger and complex view; it is a minimal example to reproduce the error: import SwiftUI import MapKit struct ContentView: View { @State private var offset = CGSize.zero var body: some View { ZStack { let drag = DragGesture() .onChanged { g in offset.width = g.translation.width offset.height = g.translation.height } Map(interactionModes: [.zoom]) .frame(width: 320, height: 220) .rotationEffect(.degrees(Double(offset.width / 12))) .highPriorityGesture(drag) } } } I hope you can help me with this problem.
Replies
2
Boosts
0
Views
155
Activity
Feb ’26
showing route taken during walk or run on map.
Hi, I want user to be able to see the route he takes during walk or run on a map, while he is walking and after in history. I have got the users location and loaded a map. From what i have read, i'lll have to continuously annotate the map with a marker while the user is walking or running. But I don't clearly understand the MapKit apis for annotation and annotation view. Can someone guide me how to go about it. I just need an overview. Thanks
Replies
1
Boosts
0
Views
525
Activity
Aug ’20
Reply to Should I update to 10.15?
It would be best to install 10.15 on a properly formatted (APFS with a GUID Partition Map) external drive. You would be able to boot from it when you want to experiment with 10.15. Then you could always boot back to your internal drive (probably running Mojave) without fear of messing it up. A small SSD external drive would give you the best speed.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’19
Maps and Location issue
If I use Maps or a program that must somehow use my location, is there any way that an app or the Apple IOS could NOT disclose my location? I need a way to find destinations, but not disclose my location. Can that be developed? Or, for whatever reason, can you say you are in a certain location when you are not? It kind of defeats the purpose, but....
Replies
0
Boosts
0
Views
310
Activity
Feb ’17
SwiftUI Map Annotation Clustering
I am creating an application which utilizes SwiftUI and Apple's MapKit api. The goal is to create a map with custom annotations, I have been successful in this quest however I am having issues with Map Annotation Clustering. I suppose what I'm looking to determine is if I am required to use UIKit with MKMapView in hopes to be able to create clustering map annotations or if there is a method utilizing the above aforementioned SwiftUI Map Struct along slide the MapAnnotation Struct to complete this task?
Replies
1
Boosts
0
Views
3k
Activity
Jul ’21
google maps error
Hello!We have an ecommerce site that has a link to a location on google maps. If this is tried to open on any iphone or ipad that does not have the google maps app downloaded, an error message pops up that says Safari can not open the page because the address is invalid. The location on the map is loaded behind the message and if you press okay the message goes away but this is a bad user experience. If the user has the google maps app then this error does not occur. Has any one else encountered this problem or found a fix for it?Thanks!
Topic: Safari & Web SubTopic: General Tags:
Replies
0
Boosts
0
Views
588
Activity
Jun ’15
Reply to Searching Apple Maps
I would like to complain of Apple Map inaccuaracy! 95% of people who using APple Map and coming to my office were guided to another city. Its 1755 E Huntington Dr, Duarte, California 91010. Apple Map guided to Monrovia City! It's annoying and I am loosing cumtomers because of Apple Map inaccuracy!
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’16
SpriteKit Programming Guide in Swift?
Hi, will there be a SpriteKit Programming Guide in Swift?I can only find the Obj-C Version: https://developer.apple.com/library/prerelease/ios/documentation/GraphicsAnimation/Conceptual/SpriteKit_PG/Introduction/Introduction.html
Replies
3
Boosts
0
Views
2.5k
Activity
Jul ’15
Reply to Mapping model not found if the attribute has "Preserve after deletion" enabled
You made it clear that you probably couldn't move away from custom mapping models, but for the awareness of other folks, I'd still mention that using custom mapping models is now discouraged, as discussed here. To to comment your question, every time you change your model version, you need to regenerate the model mapping file so the version hashes are matched. You can do so by executing Xcode File > New > File From Tempdate... menu, pick Core Data > Mapping Model in the new file template sheet and then follow the guide to finish that. If you do re-create the mapping model after changing the model, but still see the “can't find mapping model for migration error, it may be that Xcode fails to create the mapping model with the right hashes, which will be an Xcode bug. In that case, you can probably work around the issue by tweaking the mapping model with your own code. To do that: Figure out the version hashes of the entiti
Replies
Boosts
Views
Activity
Feb ’25
bump mapping with metal
Is there an tutorial about how to do bump mapping with metal?
Replies
6
Boosts
0
Views
1.7k
Activity
Nov ’16
Reply to Is possible to extract Assets.Car and Unix Executable file .ipa file
These two files consume more memory compare than others. So i want to extract/validate the content in that.I can’t really help on the asset catalogue stuff — that’s outside of my area of expertise — but I can offer some guidance with regards your executable.You can poke around inside a Mach-O image using tools like nm, otool and size (see their man pages for more info) but I find it’s better to come at this from the build side. My weapon of choice here is the link map, which lists every symbol included in your Mach-O and its size. To create this link map, set the Write Link Map ( LD_GENERATE_MAP_FILE) build setting. Once you have this map, first use it to verify that your Mach-O doesn’t include extraneous stuff. If it does, you can then investigate why it’s not being stripped out. After that, you can process the data to determine what’s contributing most to the size and use that to guide your optimisations.Share and Enjoy — Quinn “The Eskimo!” Apple Develo
Replies
Boosts
Views
Activity
Apr ’20
Map snapshot as overlay
HiI’m working on a map based app for doing geographical surveys which will be used in locations where internet connectivity doesn’t exist. This is my first app so I’m learning as I go.I understand that I can take snapshots of a map (while on-line of course) and am wondering if it’s feasible/allowed to save these images and use them later as overlays when there is no data connection. My questions then are:a) is this a valid approach?b) when capturing the map image would the region details be available so it can be used as a tile/overlay?I‘ve discussed using open street map tiles with a non-developer friend who has sveral years experience with them as a user and have been told they can be problematic at best. Also, I’d very much like to avoid using third party functionality.Thanks very muchMark
Replies
1
Boosts
0
Views
876
Activity
Apr ’18
Apple Maps URL scheme daddr=lat,long no longer working – regression?
Hello, I'm experiencing an issue with the Apple Maps URL scheme when using raw latitude and longitude coordinates in the daddr parameter. Until recently, using a URL like this worked reliably: https://maps.apple.com/?daddr=37.7749,-122.4194 This would open Apple Maps and show directions from the current location to the specified coordinates. However, on recent iOS versions, this URL no longer behaves as expected.
Replies
1
Boosts
0
Views
259
Activity
May ’25
Select a map area?
Hi,I've been asked to create a map view that allows the user to select an area on the map. Ideally, we want the user to be able to describe a rectangular area by dragging and resizing a semi-transparent rectangle, while simultaneously retaining the ability to drag and resize the map itself.What I'd like to do would be similar to the Find Friends app when you set notifications, except Find Friends only lets you define a circular area and I don't think you can move the area other than by typing in a new address.Are there controls like this built in to the map view? If not, would I be able to roll my own fairly easily or is this a complicated and/or impossible task?I know how to track touches and draw shapes, and I'm pretty sure I could build a separate overlay view that provides these UI elements, but I'm not immediately seeing how I'd keep my view in sync with the map view (i.e. scrolling my view when the map scrolls).Thanks,Frank
Replies
0
Boosts
0
Views
475
Activity
Feb ’18