Search results for

Apple Maps Guides

151,837 results found

Post

Replies

Boosts

Views

Activity

visionOS: How to tap annotations on a map?
I am trying to create a Map with markers that can be tapped on. It also should be possible to create markers by tapping on a location in the map. Adding a tap gesture to the map works. However, if I place an image as an annotation (marker) and add a tap gesture to it, this tap will not be recognized. Also, the tap gesture of the underlying map fires. How can I a) react on annotation / marker taps b) prevent that the underlying map receives a tap as well (i.e. how can I prevent event bubbling)
0
0
430
Jan ’24
What's the problem with my map positioning
I made a map positioning app, following is my design: when user logined, his position will be showed on the map automatically, and his location is in the center of the map(which means the blue point is in the center of map). But when i logined in my iphone5s, the blue point always isn't in the center of map, there's a offset in my phone. But the situation is normal in others iphone6, when he logined, the blue point is in the center of map(his position shows in the center of map). Why it has an offset in my phone?
1
0
388
Apr ’17
Collection View Programming Guide for macOS?
The documentation for NSCollectionViewItem refer a Collection View Programming Guide for macOS.Legacy Item SupportFor apps built before OS X 10.11, you created a template item and assigned it to the itemPrototype property of your collection view. To create new instances of the item, you called the collection view’s newItemForRepresentedObject: method. For more information about how to support older collection view configurations, see Collection View Programming Guide for macOS.Where can I find this Collection View Programming Guide for macOS?
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
1.6k
Sep ’17
Dummy's guide to code signing
I'm wondering if there is a dummy's guide to code signing. This page seems to have a step by step process but doesn't tell how to actually do any of the steps.https://medium.com/ios-os-x-development/ios-code-signing-provisioning-in-a-nutshell-d5b247760befFor example.... Xcode will be installed and the Intermediate Certificate will be pushed into the KeychainHow? Where do I install xcode from (I actually figured that out)?How or what do I need to do to get the intermediat cert pushed in to the keychain. What is a keychain? Where do I find it? Certificate Signing Request (CSR) will be createdHow is the CSR created? Do I need to do something or is this automagic once I install xcode or do something else.It surpises me how bad the documentation for this is. I would think at the very least since I just spent $100 to be in the developer program Apple would have this. If they do....its well hidden.
2
0
1.3k
May ’18
Reply to How to get iOS GPS record when app closed
If the app uses the significant location change service, it will be relaunched on significant location change even after force quit (iOS 8 and later), and I believe if it has Always permission it can restart continuous monitoring at that point using the standard APIs. Haven't done that myself to confirm.Everything you are allowed to do is described in the Location & Maps Programming Guide.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’16
Maps / Geocoding in SwiftUI
I have written a program in SwiftUI to display information from a database that includes the street address, but not the latitude and longitude. I've added a button that passes the street address to geocodeAddressString to get the lat & long and updates the map, but every time I click the button, even though the map appears to be displayed properly, I get a message in Xcode complaining Modifying state during view update... My view has a @State variable that holds a MKCoordinateRegion() for the map to display. The closure on completion of the geocode lookup updates that @State. @State private var mapRegion = MKCoordinateRegion() private func updateAddress() { let index = data.zipCode.index(data.zipCode.startIndex, offsetBy: 5) geocoder.geocodeAddressString((data.streetAddress) (data.zipCode[..
0
0
987
Nov ’21
Guided Project-Apple Pie: How to use map method in place of loop?
I’m going through Develop in Swift Fundamentals and I’m stuck at a problem where it says “Learn about the map method, and use it in place of the loop that converts the array of characters to an array of strings in updateUI().” Here’s the code: var letters = [String]() for letter in currentGame.formattedWord { letters.append(String(letter)) } Thanks in advance.
1
0
1.1k
Apr ’21
How to map channels with a AVAudioMixerNode?
Hello,is there any way to select which input channels shall be mapped to the output with a AVAudioMixerNode?I have a inputNode with 4 channels and want to use 2 specific channel from it within my processing chain.To get an idea it looks like this:... var mixer = AVAudioMixerNode() var inputFormat = audioEngine.inputNode.inputFormat(forBus: 0) // This one has 4 channels var outputFormat = AVAudioFormat(commonFormat: inputFormat.commonFormat, sampleRate: inputFormat.sampleRate, channels: 2, interleaved: inputFormat.isInterleaved)! audioEngine.attach(mixer) audioEngine.attach(someOtherNode) audioEngine.connect(inputNode, mixer, inputFormat) audioEngine.connect(mixer, someOtherNode, outputFormat) ...Basically this works as expected but I have no choice about the channel mapping from input to output.The mixer automatically maps channel 0 and 1 from the four input channels to the two output channels.How I can I tell the mixer that it should map channel 2 and 3 to the output chann
0
0
614
May ’20
Mapping and photos
Hello all I am quite a newbie to this, I have been playing with programming over the years on and off, but I have decided now to have a realy go at it and actually make it of some use.I have an idea in my head, and I would like my app to allow me to take an image and then tag it on a map, what should I be focusing on to learn this? I am not looking for answers in here as htat really wont teach me anything, I am looking for resources that can grow my skill.I am starting with El Capitan (I am along time mac user) and XCode 7, with my dev iPhone on iOS9Cheers,Damien K
0
0
151
Sep ’15
Is there any guide to use Game Center on tvOS?
Hi.I'm having a hard time trying to make GC work on my tvOS game.I have added GC support to my previous games on iOS and OSX but it seems my old classes are not working anymore on tvOS and I can't find any reference to how GC is meant to be used in Apple TV.Do you know of any tvOS oriented guide or tutorial?
0
0
324
Nov ’15
Creating UIfocus guide dynamically
I have a collection of images on a UICollectionView . For each image I get dynamic number of hotspots (x,y coordinates) from a server and I create and place dynamic UIButtons on those hotspots as subviews of the main UIImageView. I really need to know how to setup Focus guide for these dynamically created buttons on specific x,y coords on the UIImageView ?
0
0
345
May ’16
Safe layout guide issue
Hi,I'm confused about how the Safe layout guide works.I was told that I should use the safe layout guide to align UI elements to the top and bottom of the safe area, instead of aligning them to the top and bottom of the root view, and that this would allow my apps to avoid the unsafe areas on the iPhone X, as well as the default navigation and status bars.When I did this and tested my apps on iOS 11, it all worked as advertised.However, when I tested my apps on iOS 10, it did not work at all. Items that are supposed to be aligned to the top of the safe area instead extend underneath the navigation bar or status bar.Obviously, a lot of people still run iOS 10. I can't release an app that only works on iOS 11, at least not until the majority of users upgrade, which won't happen for at least a year.In the meantime, how do I create an app that works properly on both iOS 11 and earlier versions?Thanks,Frank
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
436
Oct ’17