Hello everyone. I have the following problem. I have a view with a map in which I visualize several points (annotation point). My problem is that when I select a point, I don't get any event to check, for example, the name of the annotation point, to then carry out operations. Tengo un View con un mapa @IBOutlet weak var Mapa: MKMapView! I make several queries to a database that returns a series of points (annotation points). To see which point I select, you would have to launch, once you click on the map, one of these procedures... right? extension DatosCercanos: MKMapViewDelegate { func mapView(_ mapView: MKMapView, didSelect view: MKAnnotationView) { print(hola) } func mapView(_ mapView: MKMapView, didDeselect annotation: MKAnnotation) { print(hola) } func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) { print(hola) } func mapView(_ mapView: MKMapView, didDeselect view:MKAnnotationView) { print(hola) } As you will see, I have put several procedures to see if any of them
Search results for
Apple Maps Guides
149,605 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I’m pretty new to SpritKit, and am trying to figure out the best direction to take when creating the maps for a game I’ve started.The maps are track-like... sometimes a road sometimes a tunnel, etc. I‘ve creates two levels so far, and they work great. They are currently giant 5000x5000 pixel images with a matching 5000x5000 pixel mask image overplayed and hidden for the collision detection. Performance is great, works like a charm. However, app size is my concern. The PNGs are pushing 8-10MB, and I fear the game will quickly turn into a needlessly large download as soon as I get a small handful of levels in there. They are very cartoonish and hopefully Xcode compression routines will go a long ways... however, would a tile based setup be better vs. a single monolithic image?Some if these maps have an extreme amount of trees. The level that sparked my concern is a road going through a forest (top down and cartoony 2D). I know that I‘d save tons of space, and have a much smaller app p
I am developing an Mobile app especially for call, conference call and video call. People will topup using Credit card, Debit card or Vouchers. Please let me know if i need to use IPA or can I do without IPA. Using IPA how much of the % I need to pay Apple when a subscriber tops up.I will have very less margin so I need to understand if this business model makes sense for me if I go with IPA.
The position of the Legal label, as well as the Apple Maps logo, adjust themselves according to the value of additionalSafeAreaInsets for the view controller managing the map view.
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
Hi, I am trying to create the floating panel from the Apple Maps app in Swift UI however it seems to be fairly complicated to create compared to using UIKit. I have to do a lot of nesting of elements. Does anybody have any suggestions on how to go about creating this in a simple manner? Thanks :)
HiI need to implement a google map integration in ios. What is the framework to implement it. Can anyone please provide some ideas on it.Thanks,S
Hi,I am looking for ways to create an application which would capture an image, set a threshold to it and then use it as a map for playing sounds.Please see a link to (some gif) concept sketch below.http://68.media.tumblr.com/cb7aad23f3ed2ce6167fc23e04c56e90/tumblr_oab4p2YGGv1th73nko1_1280.gifI am new to swift and I am excited for this to be a challenge, but I'd really like to get some thoughts on where to start with.I have found a somewhat similar application done with Python where using imageProcessing, an image of a skyline is converted to a threshold map and then a vector line is extracted which is then used for amplitude envelope.(This) - 'Turning Skylines into Sound'Let me know what you think!Thanks,Lukasvaliaugalukas.lt
Does MapKit have an option for the fully texturized city view where available (i.e. NYC) as seen in the Maps app for iOS (see image)?
My app uses location feature and Google map view not the Mapkit and is in the store from Aug 3, 2015. Recently(Apr 28, 2016) i submitted an update and didn't introduce any new map features. But I got rejected for my app’s location feature is not integrated with the built-in mapping functionality, which limits users to a third party Maps applicationFrom Apple10.6 - Apple and our customers place a high value on simple, refined, creative, well thought through interfaces. They take more work but are worth it. Apple sets a high bar. If your user interface is complex or less than very good, it may be rejected10.6 DetailsYour app’s location feature is not integrated with the built-in mapping functionality, which limits users to a third party Maps application.Next StepsPlease revise your app to give users the option to launch the native Apple Maps application.Does this means- i just have to put some option just to launch the nat
Hi,I am currently displaying multiple custom Annotations on a map and when i went up to about 250 the map starts lagging.When i pan across the map: no problem. But as soon as the user stops panning the map repositions itself somewhere completely else.I reset the annotations and removedannotationView!.image = UIImage(named: pin)and everything was fine (off course the image was the tipical MapKit-logo but everything else worked out)I am using a MKPointAnnotation class to define specific properties of my Annotations and this function to specify:func mapView(_ mapView: MKMapView, viewFor annotation: MKAnnotation) -> MKAnnotationView { guard let annot = annotation as? customAnnotation else {return nil} if annotation is MKUserLocation { return nil } let annotationView = MKAnnotationView(annotation: annotation, reuseIdentifier: customAnnotation) mapView.addAnnotation(annot) annotationView.image = UIImage(named: pin) annotationView.canShowCallout = true annotationView.clustering
Hi, if I use mapkit how can I show the longitude and latitude of the center of the map? I don't mean the current location. I just need the coordinates of the shown position.
Hi , i have been trying to find a solution to use mapkit in dark mode. I read documentation part and map view.mapkit.colorschemes.darkmode but I could not find any useful example for this. Thanks
For those that find it a bit too difficult to consume the current iTunes Connect Developer Guide without colorful artwork, copious callouts and a plot (?), give this manga-themed, apparently sanctioned, pdf version a try... 頑張ってh t t p s : devimages.apple.com.edgekey.net/app-store/review/guidelines/App-Review-Guidelines-The-Comic-Book.pdf
Hello, I'm somewhat new to CarPlay integration and am having an issue. I have ready through Apple's CarPlay Programming Guide, reviewed their code samples and have exhausted my searches online to help find a solution to my problem. I have been unable to get a basic map to display on my CarPlay map utilizing the following: import CarPlay class CarPlaySceneDelegate: UIResponder, CPTemplateApplicationSceneDelegate { var interfaceController: CPInterfaceController? var window: CPWindow? func templateApplicationScene(_ templateApplicationScene: CPTemplateApplicationScene, didConnect interfaceController: CPInterfaceController) { self.interfaceController = interfaceController let mapTemplate = CPMapTemplate() mapTemplate.mapDelegate = self interfaceController.setRootTemplate(mapTemplate, animated: true, completion: { success, error in if let error = error { debugPrint(Error: (error)) } else { print(CarPlay Map Should Be Displayed) } }) let trip = CPTrip(origin: MKMapItem(p
Anyone else seeing corrupted maps in a SwiftUI Map view in the iOS 15 simulator on an M1 MacBook Air? Running Xcode 13 Beta 2. Works fine on an Intel Mac (same version of everything)