Search results for

“Apple Maps Guides”

159,788 results found

Post

Replies

Boosts

Views

Activity

Reply to Detect click in CarPlay with UIKit?
Please see page 30 of the CarPlay App Programming Guide (https://developer.apple.com/carplay/documentation/CarPlay-App-Programming-Guide.pdf ), under 'Base View': The base view must be used exclusively to draw a map, and may not be used to draw alerts, overlays, or other UI elements. All UI elements that appear on the screen, including the navigation bar and map buttons, must be implemented using the provided templates. Your app won’t receive direct tap or drag events in the base view.
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’21
Reply to Swift Tour contains an experiment wherein one must call a function that returns only odd numbers.
Within the 'The Swift Programming Language iBook, the Language Guide can be used alongside The Tour, if more detailed explanations are required. The 'Basic Operator' section of the Language Guide defines the remainder operator, %, which, in conjuction with the .map method, enables location of the odd-numbered values within the array. Any integer, when divided by 2, produces a remainder of either 0 or 1. Odd integers contain a remainder of 1. Once located, operations can be performed upon the integers, mutating the values within their respective indices in the array.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’18
A guide for Network.framework?
I was just following links from a forum on the Swift language, and I found a Network.framework library on Apple's documentation pages. The types themselves don't have took mauch documentation. Since I'm just curious and don't have any applicable projects right now, is there some blog pages (or the like) that have insturctions on how to use the various types?
2
0
3.3k
May ’19
How to group map annotations?
I create a map with pins. Some of them are located close to each other and when I zoom out, the points are obscured by others. How to group them so that all of them become visible when the map is zoomed in properly. What the most efficient why to do that? Currently in viewDidLoad, I'm getting point data from firebase and put them on the map. db.collection(map).getDocuments() { (querySnapshot, err) in if let err = err { print(Error getting documents: (err))} else { for document in querySnapshot!.documents { let data = document.data() if let name = data[name] as? String, let lat = data[lat] as? Double, let lon = data[lon] as? Double { let newAnnotation = MKPointAnnotation() newAnnotation.coordinate = CLLocationCoordinate2D(latitude: lat, longitude: lon) newAnnotation.title = name self.mapa.addAnnotation(newAnnotation) } } } }
1
0
1.5k
Jul ’20
Normal Map From SCNRenderer
Hi everyone !I would to build a multy pass rendering engine based on scenekit and OpenGL. I saw that with a SCNRenderer I can render the color and depth map of my scene in my own framebuffer. //load Framebuffers glGenFramebuffers(1, &myFBO); glBindFramebuffer(GL_FRAMEBUFFER, myFBO); geometryBufferDrawBuffer = GL_COLOR_ATTACHMENT0; glDrawBuffers(1, &geometryBufferDrawBuffer); // Attach textures to framebuffer glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 , GL_TEXTURE_2D, colorTexture, 0); glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTexture, 0); [scenekitRenderer renderAtTime:currentTime];But I also need to get the normal map. Is there a way to get it ? I tryed to attach a texture to a second color attachement, but I only get the color map. And I can't render the scene with my own shaders.Thank you for your helps !
0
0
396
Jan ’16
Problem with alignment guides
I am creating a user interface for a working program. I am able to lay things out with offsets but am trying as a learning experience to do the same with alignment guides. For the section heading labeled Group 1 I am able to get the layout I want. What I cannot get to work are alignment guides for the associated rounded rectangle. It appears that the alignment guides with the rounded rectangle only affect the contents i.e. the text Data Table. Below is a picture of the code output and the code. How, using alignment guides, can move the top rounded rectangle? To keep the picture small I just copied the left side of the output window. The top rounded rectangle is approximately centered in this window. struct ContentView: View { var body: some View { NavigationStack { Text(Group1) .font(Font.custom(Arial, size: 16)) .alignmentGuide(HorizontalAlignment.center, computeValue: { d in print((d[HorizontalAlignment.leading])) // print leading = 0.0 // print center = 27 // print trail
1
0
1.2k
Sep ’23
drop pin on map
I want to be able to drop a pin on a map. For example if I view a satellite view of a golf course I want to drop a pin in the middle of the 12 th green and then calculate the distance from my current location. How can I drop a pin on the map where I click it and then move it around to place it in the correct spot and then get the latitude and longitude returned to me?
0
0
396
Feb ’16
AR Heat Map
How do I trace a map on the floor as the user walks through their house, like a trail or heatmap, and then save this trail to CoreData Would it be possible to load and view this map later in the same spot? Or rescan the trail in the same area?
Replies
0
Boosts
0
Views
668
Activity
Jul ’23
Bottom layout guide is deprecated
Since i have upgraded to Xcode 9 & Target (11.0) I have following problems one top and Bottom - LaunchScreen.storyboard: Bottom layout guide is deprecated since iOS 11.0 Please assist regards Kelvin Johnston
Replies
1
Boosts
0
Views
1.5k
Activity
Jun ’17
Are there any tutorials or guides for AR apps?
Hello. Are there any tutorials or guides to follow on developing AR apps? From what I see in the documentation it is mostly a reference. As someone new to developing AR apps for iOS I was wondering if there is some documentation that gives an overview of the general approach and structure of AR apps. Thanks, Val
Replies
5
Boosts
0
Views
7.5k
Activity
Aug ’20
When will Austin, TX Mapping be Available?
When will Austin, TX Mapping be Available-- in particual the Domain Area surrounding the Apple Store?
Replies
3
Boosts
0
Views
580
Activity
Jun ’20
Reply to Detect click in CarPlay with UIKit?
Please see page 30 of the CarPlay App Programming Guide (https://developer.apple.com/carplay/documentation/CarPlay-App-Programming-Guide.pdf ), under 'Base View': The base view must be used exclusively to draw a map, and may not be used to draw alerts, overlays, or other UI elements. All UI elements that appear on the screen, including the navigation bar and map buttons, must be implemented using the provided templates. Your app won’t receive direct tap or drag events in the base view.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’21
how is to turn on the maps capability?
How is to turn on the maps capability in application?
Replies
4
Boosts
0
Views
422
Activity
May ’16
Why didn't Apple provide SpriteKit Programming Guide in Swift?
As the topic
Replies
3
Boosts
0
Views
468
Activity
May ’16
Reply to Swift Tour contains an experiment wherein one must call a function that returns only odd numbers.
Within the 'The Swift Programming Language iBook, the Language Guide can be used alongside The Tour, if more detailed explanations are required. The 'Basic Operator' section of the Language Guide defines the remainder operator, %, which, in conjuction with the .map method, enables location of the odd-numbered values within the array. Any integer, when divided by 2, produces a remainder of either 0 or 1. Odd integers contain a remainder of 1. Once located, operations can be performed upon the integers, mutating the values within their respective indices in the array.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’18
Link Broken to SpriteKit programming guide
Hello,Is anyone experiencing this issue. All links that I have clicked to get to the spritekit programming guide seem to be broken.Wondering ig they are just working on a new guide for Swift, or if they just have the wrong link set.thanks...
Replies
3
Boosts
0
Views
387
Activity
Jun ’17
A guide for Network.framework?
I was just following links from a forum on the Swift language, and I found a Network.framework library on Apple's documentation pages. The types themselves don't have took mauch documentation. Since I'm just curious and don't have any applicable projects right now, is there some blog pages (or the like) that have insturctions on how to use the various types?
Replies
2
Boosts
0
Views
3.3k
Activity
May ’19
How to group map annotations?
I create a map with pins. Some of them are located close to each other and when I zoom out, the points are obscured by others. How to group them so that all of them become visible when the map is zoomed in properly. What the most efficient why to do that? Currently in viewDidLoad, I'm getting point data from firebase and put them on the map. db.collection(map).getDocuments() { (querySnapshot, err) in if let err = err { print(Error getting documents: (err))} else { for document in querySnapshot!.documents { let data = document.data() if let name = data[name] as? String, let lat = data[lat] as? Double, let lon = data[lon] as? Double { let newAnnotation = MKPointAnnotation() newAnnotation.coordinate = CLLocationCoordinate2D(latitude: lat, longitude: lon) newAnnotation.title = name self.mapa.addAnnotation(newAnnotation) } } } }
Replies
1
Boosts
0
Views
1.5k
Activity
Jul ’20
Normal Map From SCNRenderer
Hi everyone !I would to build a multy pass rendering engine based on scenekit and OpenGL. I saw that with a SCNRenderer I can render the color and depth map of my scene in my own framebuffer. //load Framebuffers glGenFramebuffers(1, &myFBO); glBindFramebuffer(GL_FRAMEBUFFER, myFBO); geometryBufferDrawBuffer = GL_COLOR_ATTACHMENT0; glDrawBuffers(1, &geometryBufferDrawBuffer); // Attach textures to framebuffer glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 , GL_TEXTURE_2D, colorTexture, 0); glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, depthTexture, 0); [scenekitRenderer renderAtTime:currentTime];But I also need to get the normal map. Is there a way to get it ? I tryed to attach a texture to a second color attachement, but I only get the color map. And I can't render the scene with my own shaders.Thank you for your helps !
Replies
0
Boosts
0
Views
396
Activity
Jan ’16
Problem with alignment guides
I am creating a user interface for a working program. I am able to lay things out with offsets but am trying as a learning experience to do the same with alignment guides. For the section heading labeled Group 1 I am able to get the layout I want. What I cannot get to work are alignment guides for the associated rounded rectangle. It appears that the alignment guides with the rounded rectangle only affect the contents i.e. the text Data Table. Below is a picture of the code output and the code. How, using alignment guides, can move the top rounded rectangle? To keep the picture small I just copied the left side of the output window. The top rounded rectangle is approximately centered in this window. struct ContentView: View { var body: some View { NavigationStack { Text(Group1) .font(Font.custom(Arial, size: 16)) .alignmentGuide(HorizontalAlignment.center, computeValue: { d in print((d[HorizontalAlignment.leading])) // print leading = 0.0 // print center = 27 // print trail
Replies
1
Boosts
0
Views
1.2k
Activity
Sep ’23
drop pin on map
I want to be able to drop a pin on a map. For example if I view a satellite view of a golf course I want to drop a pin in the middle of the 12 th green and then calculate the distance from my current location. How can I drop a pin on the map where I click it and then move it around to place it in the correct spot and then get the latitude and longitude returned to me?
Replies
0
Boosts
0
Views
396
Activity
Feb ’16
Maps & Location
How do you change the city and zip code for an address listed incorrectly on the Maps app?
Replies
0
Boosts
0
Views
733
Activity
Feb ’22