I have a standard UITableViewController and I have added an MKMapKit map neatly on the top half of the screen (and the table in the bottom half). During runtime, if we scroll through the table records, the map scrolls up as well. What I wanted to do was have the map static, not scrolling, while I scroll the table. Any ideas on how to accomplish this, please?
Search results for
Apple Maps Guides
149,515 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The depth map (actually disparity map) I'm extracting from a picture taken with iPhone Plus is inverted. That is: objects that are close to lens are dark/black (low values), and in the distance they're white (high values).That seems to me to be the opposite of what Apple showed on WWDC. Is that normal? I'm able to get it right (close: high values, distance: low values) by simply inverting the whole depth map, but is it supposed to be like that?I've tested with 2 different pictures and both of them had the same result. I haven't got an iPhone Plus at hand to test it more, appreciate any help.
Hi everyone, I am working on creating an NFC-enabled Apple Wallet pass but have been unable to get the NFC functionality to work. While the pass itself adds to Wallet without issues, the NFC feature does not activate. Here’s a summary of what I’ve done: 1. Developer Setup: Registered a Pass Type ID in my Apple Developer account. Generated and installed the Pass Type ID certificate. Installed the latest WWDR certificate. 2. Pass JSON Configuration: My pass.json file includes the following NFC configuration: nfc: { message: Tap to unlock door, encryptionPublicKey: MY_ENCRYPTION_PUBLIC_KEY, payload: encrypted_nfc_payload } 3. Testing Results: When the pass includes the nfc field, it adds to Wallet but NFC does not work. If I remove the nfc field, the pass works fine (minus NFC, of course). What I Need Help With: 1. A step-by-step guide for correctly implementing NFC in Wallet passes, including details about encryption, key generation, and any additional setup steps. 2. Information on w
Topic:
App & System Services
SubTopic:
Apple Pay
Tags:
Mobile Core Services
Wallet
Apple Pay
Core NFC
Is there a way to add google maps or mapbox to osx app built with swift? Both websites only show api for ios. Is there any option to add maps to osx app without using apple maps?
See Steps for Adding an Overlay to the Map in the guide OOPer mentioned. You already have finished steps 1 and 4.For steps 2 and 3, you need to implement the mapView(_:rendererFor:) delegate method and return a MKCircleRenderer. The renderer allows you to set the fill color, stroke color, etc.
Topic:
App & System Services
SubTopic:
Maps & Location
Tags:
Since updating to iOS 11 and High Sierra, Maps favorites, bookmarks and history will not sync across my devices. Is anyone else experiencing this?
I suppose you could do this with a focus guide, but it would not map well to the way a user expects the focus engine to work. It is best to only move focus in the direction requested by the user, otherwise it becomes very unpredictable and confusing.Please see the tvOS HIG section on Focus and Selection for some additional information.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I am using the following code on my map but the subtitle does not show on the map and I am getting this message - for 0.00 seconds - Raster Overlays Above Labels - Failed to decode (terminal) (0.00 sec). Does anyone see a problem with my logic or code? self.mapView.removeOverlays(self.mapView.overlays) let location = sender.location(in: self.mapView) let locCoord = self.mapView.convert(location, toCoordinateFrom: self.mapView) let annotation = MKPointAnnotation() annotation.coordinate = locCoord self.mapView.removeAnnotations(mapView.annotations) self.mapView.addAnnotation(annotation) addCircle(locCoord: locCoord) annotation.title = Bank Angle (angle)° annotation.subtitle = Aircraft } // MARK: Circle overlay. func addCircle(locCoord: CLLocationCoordinate2D) { self.mapView.delegate = self let circle = MKCircle(center: locCoord, radius: distanceInMeters as CLLocationDistance) self.mapView.add(circle) }
Thanks for the suggestion but my app is primarily an Apple Watch app and unfortunately Apple Maps is very limited on Apple Watch. It only provides a static map image, whereas I need a fully interactive vector map, similar to the Apple Maps app, but integrated into my watch app. Also my app is intended for use when hiking, mountain biking etc and Apple Maps is very poor when it comes to paths and trails. In a lot of hiking situations Apple Maps would not be showing much anyway, so my empty vector map is probably a better fallback because it at least shows the breadcrumb trail and users can load and see GPX routes to follow.Thanks though - in most situations Apple Maps would be a reasonable fallback, but probably not in this case.
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
Let's look at this... Apple Maps shows a certain view. When using MKMapView, your app shows the same view. That seems entirely consistent. Google Maps shows a different view. Okay. Google Maps is an entirely different system, nothing to do with Apple Maps, or MKMapView. If you want to use Google Maps data in your app, you can do that (but not in MKMapView... they use a GMSMapView). Another app shows a different view. You think it is using Apple Maps (you spotted an Apple logo). You think it is using MKMapView (how would you know that?). Who knows what it is doing, or using? You would have to ask the app developer. Your app is consistent with Apple Maps. When your local Apple Maps data is updated, your MKMapView will reflect that.
Topic:
Programming Languages
SubTopic:
Swift
Tags:
Hi, On iOS 17 beta I have drawn a Map inside a NavigationStack with toolbar buttons. The map is drawing itself above the toolbar background and behind the toolbar buttons, that is the map is drawing right to the bottom of the display but the buttons are visible on top of the map. The Apple Maps logo etc has honoured the safe area correctly. Anyone seen this and know why or how to avoid this? If I replace the map with another view the toolbar is handled properly. Any suggestions appreciated, cheers.
It would be extremely helpful to have indent guides like what Visual Studio has in Xcode as discussed here.Would you agree?
When are we going to see an update to 3D maps. The Dallas Texas map is 5 yrs old?
I noticed that the following functionality is not working as per expectation on iOS 9 Devices. However, Working fine on below iOS 9 devices.In iOS 9, Apple Maps is not working as expectation, It is displaying iOS Home screen as soon as Apple Maps URL is launched in Safari Browser.Steps to Reproduce:1. Open Safari in iOS 92. Type this URL in Safari Address Barhttp://maps.apple.com/maps?q=Scott+Woodruff,5445+Murrell+Rd+Ste+104,Viera,FL 32955@28.265339,-80.718226&t=m&z=123. It will launch Apple maps prompting by alert view4. As Soon as Apple Maps is launched, iOS Home (Main Screen) is coming to screen.I see this as defect.Expected Results:It should display the corrrect address in mapActual Results:App is going to BackgroundVersion: iOS 9 Beta
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: