Hi, I have a SwiftUI Map with a set of three annotations. These annotations move around, and I would like to animate their movement from one coordinate to another, but I'm not finding a way to do that. I've tried using withAnimation { } when setting my array of Identifiable models that back the Annotations, and I've tried adding the .animation(.default, annotationModels) modifier to my Map object (where annotationModels is the array that backs my Annotations). The animation modifier doesn't work on Annotation structs, and it doesn't work if I add the animation modifier within the Annotation's view either. Does anyone have any suggestions on how I might be able to animate the coordinates of annotations using a SwiftUI Map? Does the problem have to do with the fact that I have an array of these annotations?
Search results for
Apple Maps Guides
151,867 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Is there any API for navigation on lock screen like the Apple maps app? If not, please provide all the APIs that related to custom lock screen.
I have the same issue, I believe. My car is a Volkswagen TCross 2024 with Carplay. My phone is a iPhone 13 Pro Max 128gb. Before updating to iOS 18, everything was working fine with the GPS based apps such as Waze, Google Maps and Apple Maps. The navigation was fluid and I had no issues at all. After the iOS 18 update, all the GPS apps have an issue that is it seems that the map is jumping around while driving. Sometimes it jumps to a place that I'm not at and the navigation becomes confusing and unsafe. After a few seconds, my position is acquired back and the map shows the correct position. Apple Maps, Waze and Google Maps at their latest version. Yesterday I did a iOS rollback to version 17.7 and tried again all the GPS navigation apps at Carplay and it seems to be fixed, the maps aren't jumping around in this version.
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
What does it mean in WWDC 2017 Auto Layout Techniques in Interface Builder that Safe Space layout guide is backwards deployable?
I'm creating an app on recording screen by using ReplayKit. I want to make a user operation video to guide user how to use my app to record screen. So, I need record a video on how to record screen and this approach is a bit awkward. I tried several ways of Screen Mirroring such as AirPlayer and QuickTime, but the recording button on control-center is disable while using Screen Mirroring. The effect I want is as follows: https://support.apple.com/library/content/dam/edam/applecare/images/en_US/iOS/ios13-iphone-xs-control-center-screen-record-animation.gif How was this video made?
I’m finding Combine's Future publisher to useful as an API surface because by definition it produces zero or one values then finishes. If a function returns a future, the caller implictly knows it will only ever return a single value. I can use AnyPublisher and get essentially the same result, but I lose the self documenting aspect of supplying a single shot publisher.In some cases, I have a function consuming a future and returning a new future with an adjusted type. With a type like Result I can map one type to another, but Future.map returns a Publishers.Map type leading me back to AnyPublisher for my API. Is there a good way to map Future<Output, Failure> to Future<NewOutput, Failure>?Thanks,Nick* apologies for posting a beta framework related question in the language forum, but I can’t find a better place for it
I have an NSOrderedSet of a custom class CDRoute which wraps and provides dynamic member lookup to a custom enumeration type called Route. The Route type has a property called precedence (Int16 type) and I would like to have a derived core data attribute where I can access the highest precedence value in the NSOrderedSet. This is relatively straightforward using Swift Computed Properties but I would like to incorporate this using core data since I've been having difficulty with changes being noticed. Due to the blatant lack of documentation surrounding how to construct a format string/woefully out of date documentation that describes how to do it in code but not how to format it in the Core Data model editor, I'm having a really difficult time with this. Is there any way to do something equivalent to the Swift map function ie stops.routesServed.map({ $0.precedence }).@max where stops.routesServed is the NSOrderedSet?
So far, we have been using Google Maps to determine distance along a certain route for a MacOS app to register kilometers for a business administration app. But, this is no longer possible, as the login for google maps no longer works. I understand we would have to pay to continue using the Google Maps service as it was and we would have to make changes to the app. That would be ok, but I was just wondering does any developer on this forum have suggestions on how to resolve this issue? Or even maybe have suggestions, to make this work better than before. Three suggestions by chatgpt: use ANWB route planner using google maps, Pro6pp, or to useWisp.Software (something I haven't heard of before. Your suggestions and ideas are welcome. Also, if the Apple Developer team knows of a way how to do this in your app, your advice is more than welcome. Have a nice day!
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
Nearby Interaction
macOS
MapKit JS
Core Location
I am having problems trying to get all the parts of my app registration, certification, etc so it can be submitted to the App Store. At the moment I have a message in Xcode about the provisioning profile not containing a specific certificate. I am not able to find that certificate and am stuck. I would like to follow a guide. Is there such a thing?
If I understand correctly, what you are asking is if you can launch the Apple Maps app to give directions and then have it launch your app when the user reaches their destination. No, there is no API for this. As KMT suggests, the way to accomplish this is to integrate maps into your own app. If you want to provide directions, you can also display the directions in your own app. Getting the directions is pretty straightforward but it would be a bit of work to create a decent navigation interface such as that provided by Apple Maps.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Have you read any of Apple's documentation?I would start with the App Distribution Guide.
Topic:
App & System Services
SubTopic:
Apple Pay
Tags:
I have an unusual use-case where I would like to be able to draw vertical lines up from a map. I will have points deriving from geoTag'd entities, and a stored height and orientation of line (but for this discussion, assume straight up for simplicity (angled at a perpendicular to the surface of the globe). I am wanting to pull the MKMapKit back to reveal the globe so there is no need for accuracy of representation of the line resolution, it just needs to show. Kinda like oriented pins on a rounded pincushion. I have no code to show, as i have not yet been able to find anything like this. I prefer to use MapKit to show the earth properly, but am lost as to how to get started. I continue to search around looking for a hint or clue, to-date, no luck.Anyone have any ideas? thank you in advance.
Using either of these with CarPlay now the phone must remain open and unlocked and the maps must be active. Of the maps app for either of these apps gets closed, on Google Maps the map freezes and will not do anything. I also am unable to keep my phone open and unlocked using Google maps. on Waze the maps screen just turns off if the phone is locked or the Waze app isn’t open and active. Additionally when starting Waze on the split screen where it shows music, maps, and the next turn on CarPlay, the next turn screen appears as if the Waze app is just open but not headed in a specific direction So it just says search. You have to open to the full screen Waze app on the car play screen then back to the split screen for it to work. Google maps is effectively broken while Waze can be used with a work around. Though Waze also randomly stops the directions and goes back to just showing the maps and you have to get directions again to r
I laid out a pretty large tile map node in the normal way for the U.S. Left to right, top to bottom, and found out there is too much space vertically. Too many rows. If I change the map size, it removes rows from the top and not the bottom! Like that Google Cheesebuger with the cheese on the bottom, it makes sense in a different culture, but not ours. So how can I move everything down 10 rows, or remove rows from the bottom, or something else so I can reduce the map size and clip the scene to just the right amount of vertical space?
If I am using MKMapView in my App do I need to pay any cost for using map.