Search results for

“Apple Maps Guides”

155,791 results found

Post

Replies

Boosts

Views

Activity

Annotate markpin on map using mapkit map
Hi I am trying to annotate on map after displaying the map. I am able to take in lat and long from user and convert it to Double. But stuck at the annotate on the map part. I am able to annotate hard coded values but I do not know how to convert it to annotate using user`s input of lat and long. I struggling to include the init( ...) part into my identifiable portion. I cant seem to get it right. I found this link from apple but it doesnt work. https://developer.apple.com/documentation/mapkit/mapmarker#see-also import MapKit import SwiftUI struct IdentifiablePlace: Identifiable { let id: UUID let location: CLLocationCoordinate2D init(id: UUID = UUID(), lat: Double, long: Double) { self.id = id self.location = CLLocationCoordinate2D( latitude: lat, longitude: long) } } struct PinAnnotationMapView: View { let place: IdentifiablePlace @State var region: MKCoordinateRegion var body: some View { Map(coordinateRegion: $region, annotationItems: [place]) { place in MapMark
1
0
521
Dec ’21
Reply to Totalization of array values
There is the built in reduce function for this :let sum = arrayPoint.reduce(0, combine: +)You start with 0 (or any other value you want) and add all items in array.If you want the product :prod = arrayPoint.reduce(1,combine: *) // Here, need to start with 1You have other interesting functions on collections (map, filter, reduce); look hereh ttps://useyourloaf.com/blog/swift-guide-to-map-filter-reduce/
Topic: Programming Languages SubTopic: Swift Tags:
May ’17
How to get blur effect similar to Apple maps status bar?
I'm working on a map based iOS 11 application and want to make the status bar blurred exactly like it appears in the Apple maps.Currently, I'm using UIVisualEffectView to replicate this effect. Here's my code:let blurEffect = UIBlurEffect(style: .regular) blurredStatusBar = UIVisualEffectView(effect: blurEffect) blurredStatusBar?.translatesAutoresizingMaskIntoConstraints = false view.addSubview(blurredStatusBar!)However, whatever UIBlurEffect I use, I'm not able to replicate the effect like Maps app.I just want to the blur the status bar, without adding any saturation, vibrancy or any white color tint.There is an instance property - backgroundFilters, which, possibly could have helped me but unfortunately it is not available for layers on iOS.One possible solution suggested here was to capture the UIView content inside an image, then blurring and showing it. However, this is not a feasible solution in my case because I've got a map underneath the status bar which can be pan
0
0
2.2k
Aug ’18
Language guide for Swift 5.9
My Mac will not run Xcode 15.3 which uses Swift 5.10. It will run Xcode 15.2 which uses Swift 5.9.2. The problem I am seeing is that Apple provides the language guide for Swift 5.10 but not the guide for Swift 5.9. Is this a real problem or am I over reacting, if not, where can I get and how do I install the reference guide for Swift 5.9 that will show up in Xcode
3
0
1.5k
Mar ’24
Any ways to get access to Apple Map's indoor navigation within airports
I'm currently playing with Apple Map's MapKit for SwiftUI, aiming to make a tool that helps me navigate inside the airport as I find out that Apple Map in my iPhone can direct me within the airport from gate to gate. I want to integrate this function into my SwiftUI application, but I believe that MapKit only gives directions between places to places, like from my home to the airport, but not directions travelling indoor in the airport. Are there any ways for me to integrate the Apple Map that supports airport's indoor navigation into my App? Thanks!
0
0
745
Jun ’23
App not showing up in Apple Map's share location menu
I'm making an app that can have locations and links shared to it. I have gotten the share intent working for text and urls with: NSExtensionActivationSupportsWebURLWithMaxCount: 1 NSExtensionActivationSupportsWebPageWithMaxCount: 1 NSExtensionActivationSupportsText: true in Info.plist of the share extension. I am able to share Google Maps locations and safari websites. However, my app does not appear when I share a location on Apple Maps. I also tried the other options in the docs (https://developer.apple.com/documentation/bundleresources/information-property-list/nsextension/nsextensionattributes/nsextensionactivationrule) as well without success. When I share a location (i.e. a shop) in Apple Maps, it looks like a link but perhaps its something else? Does anyone know how to get an app to come up in the share menu of an Apple Maps location? Thanks!
0
0
79
Jul ’25
Japanese localization style guide
Are there any official iOS localization style guides specifically for Japanese?I've pointed out to my L10n team that spaces should not be inserted before or after an English word, and they replied with the following:Please refer to “3.1.14 Symbols & spaces” section in the attached PDF. It’s Microsoft’s Japanese localization Style Guide which you can download from here. Not sure if we have company_name version of Japanese style guide but this is comprehensive. As a software distributor for Windows platform, it’s understandable that we follow this guideline. I think it makes sense to use the same style guide for company_brand products across OS platforms, unless there’s OS specific style definition.oh my god. how can they default to a Microsoft localization style guide for localizing an iOS app?I've also pointed out to them that Apple's apps like Settings do not add spaces, but without an official Apple documentation the L10n team doesn't want t
4
0
4.5k
Oct ’18
App Clip Not Launching From Approved Apple Maps Action Link
We’ve set up an advanced App Clip experience that successfully launches when a user scans our QR code. However, the same App Clip invocation URL does not launch when tapping the associated Action Link on our Apple Place Card in Apple Maps. Instead of opening the App Clip, the link falls back to the website. What We Have Done So Far: App Clip Launched in App Store Connect: Our App Clip is approved and live on the App Store. Here is the invocation URL: https://appclip.parkzenapp.com/park?q=oJrbSIgx Below is the QR code for our Advanced App Clip experience we are attempting to open in our Apple Maps Place card When scanning the QR code that uses the same App Clip invocation URL, the App Clip reliably launches as expected. Here is our apple-app-site-association file, thats correctly served from the associated domain: https://appclip.parkzenapp.com/.well-known/apple-app-site-association Add here is a screenshot showing how the appclip.parkzenapp.com do
0
0
533
Dec ’24
Tier Guide line?
I'm launching game app.but rejected twice.ReasonYour game app includes in-app purchase products for consumable credits priced over $99.99, Tier 60.I aksed this reason to Apple, againwhy not? I want selling $99.99 over that in-appBut same reply got it...I have not seen that guideline.Where is that InApp Price guide line?
4
0
2k
Jul ’18
Best way to integrate large number of icons with MapKit (Apple Maps)
I'm developing an iOS app that displays store locations on a map using Apple Maps (MapKit). I've limit the number of icons that can be displayed on the map to 100, but there's still huge performance issues and the app is very laggy even on modern iPhone models. What's the best practice when displaying a large number of icons on a map, should the icons be in PNG format with a small resolution (~10kb) or should the icons be vector (SVG) for best performance? Should I use the MapKit framework for iOS 17 or the UIKit approach?
1
0
867
Apr ’24
Reply to BIErrorDomain error 8.
When I tried to download macOS Big Sur on an external usb, I could only get it to work by using GUID partition mapping and APFS unencrypted format, though you will need at least 35gb of free space to download it I hope this works!
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’20
Launch Apple Maps app with a destination and "No Highways" automatically selected?
Hi, I am trying to build a button in our app that when pressed, will launch users to their native Maps app with their destination pre-entered and No Highways automatically selected.Currently I am doing this using the Maps URL http://maps.apple.com/?daddr=+destinationCoords+&dirflg=d, where destinationCoords is the coordinates of the user's selected destination, like 33,-122.The problem is, the Maps URL scheme does not seem to support a parameter for avoiding highways, https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.htmlI tried looking at MKMapItem's openMaps and openInMaps but those don't seem to support launching Maps with No Highways automatically selected either. I had no problem doing this with Google Maps. Is there any way at all to do the same with Apple Maps?Thanks,Terry
3
0
1.9k
Nov ’16
Annotate markpin on map using mapkit map
Hi I am trying to annotate on map after displaying the map. I am able to take in lat and long from user and convert it to Double. But stuck at the annotate on the map part. I am able to annotate hard coded values but I do not know how to convert it to annotate using user`s input of lat and long. I struggling to include the init( ...) part into my identifiable portion. I cant seem to get it right. I found this link from apple but it doesnt work. https://developer.apple.com/documentation/mapkit/mapmarker#see-also import MapKit import SwiftUI struct IdentifiablePlace: Identifiable { let id: UUID let location: CLLocationCoordinate2D init(id: UUID = UUID(), lat: Double, long: Double) { self.id = id self.location = CLLocationCoordinate2D( latitude: lat, longitude: long) } } struct PinAnnotationMapView: View { let place: IdentifiablePlace @State var region: MKCoordinateRegion var body: some View { Map(coordinateRegion: $region, annotationItems: [place]) { place in MapMark
Replies
1
Boosts
0
Views
521
Activity
Dec ’21
Beginners Guide to Apple Machine Learning?
There are some projects I'd like to try with Create ML but I've never worked with machine learning before. Are there any good sources for beginners?
Replies
4
Boosts
0
Views
3.1k
Activity
May ’20
Reply to Totalization of array values
There is the built in reduce function for this :let sum = arrayPoint.reduce(0, combine: +)You start with 0 (or any other value you want) and add all items in array.If you want the product :prod = arrayPoint.reduce(1,combine: *) // Here, need to start with 1You have other interesting functions on collections (map, filter, reduce); look hereh ttps://useyourloaf.com/blog/swift-guide-to-map-filter-reduce/
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’17
How to get blur effect similar to Apple maps status bar?
I'm working on a map based iOS 11 application and want to make the status bar blurred exactly like it appears in the Apple maps.Currently, I'm using UIVisualEffectView to replicate this effect. Here's my code:let blurEffect = UIBlurEffect(style: .regular) blurredStatusBar = UIVisualEffectView(effect: blurEffect) blurredStatusBar?.translatesAutoresizingMaskIntoConstraints = false view.addSubview(blurredStatusBar!)However, whatever UIBlurEffect I use, I'm not able to replicate the effect like Maps app.I just want to the blur the status bar, without adding any saturation, vibrancy or any white color tint.There is an instance property - backgroundFilters, which, possibly could have helped me but unfortunately it is not available for layers on iOS.One possible solution suggested here was to capture the UIView content inside an image, then blurring and showing it. However, this is not a feasible solution in my case because I've got a map underneath the status bar which can be pan
Replies
0
Boosts
0
Views
2.2k
Activity
Aug ’18
Language guide for Swift 5.9
My Mac will not run Xcode 15.3 which uses Swift 5.10. It will run Xcode 15.2 which uses Swift 5.9.2. The problem I am seeing is that Apple provides the language guide for Swift 5.10 but not the guide for Swift 5.9. Is this a real problem or am I over reacting, if not, where can I get and how do I install the reference guide for Swift 5.9 that will show up in Xcode
Replies
3
Boosts
0
Views
1.5k
Activity
Mar ’24
Any ways to get access to Apple Map's indoor navigation within airports
I'm currently playing with Apple Map's MapKit for SwiftUI, aiming to make a tool that helps me navigate inside the airport as I find out that Apple Map in my iPhone can direct me within the airport from gate to gate. I want to integrate this function into my SwiftUI application, but I believe that MapKit only gives directions between places to places, like from my home to the airport, but not directions travelling indoor in the airport. Are there any ways for me to integrate the Apple Map that supports airport's indoor navigation into my App? Thanks!
Replies
0
Boosts
0
Views
745
Activity
Jun ’23
App not showing up in Apple Map's share location menu
I'm making an app that can have locations and links shared to it. I have gotten the share intent working for text and urls with: NSExtensionActivationSupportsWebURLWithMaxCount: 1 NSExtensionActivationSupportsWebPageWithMaxCount: 1 NSExtensionActivationSupportsText: true in Info.plist of the share extension. I am able to share Google Maps locations and safari websites. However, my app does not appear when I share a location on Apple Maps. I also tried the other options in the docs (https://developer.apple.com/documentation/bundleresources/information-property-list/nsextension/nsextensionattributes/nsextensionactivationrule) as well without success. When I share a location (i.e. a shop) in Apple Maps, it looks like a link but perhaps its something else? Does anyone know how to get an app to come up in the share menu of an Apple Maps location? Thanks!
Replies
0
Boosts
0
Views
79
Activity
Jul ’25
Apple Maps freezes since since updated to iOS 16.1 ?
Anybody else seeing the map freeze in their App since upgrading to iOS 16.1 ? Like the app totally freezes, not just the map even.
Replies
3
Boosts
0
Views
1.5k
Activity
Oct ’22
Move the "Maps" and "Legal" text in Map View
Does anyone know if there is a way to move the Maps and Legal text in the Map SwiftUI view? App Store Guidelines require that the text be shown, but if you are trying to add some type of sheet or view overlay for some of the map, I can't seem to find a way to add extra bottom padding to this text.
Replies
2
Boosts
0
Views
3.2k
Activity
Jun ’20
Japanese localization style guide
Are there any official iOS localization style guides specifically for Japanese?I've pointed out to my L10n team that spaces should not be inserted before or after an English word, and they replied with the following:Please refer to “3.1.14 Symbols & spaces” section in the attached PDF. It’s Microsoft’s Japanese localization Style Guide which you can download from here. Not sure if we have company_name version of Japanese style guide but this is comprehensive. As a software distributor for Windows platform, it’s understandable that we follow this guideline. I think it makes sense to use the same style guide for company_brand products across OS platforms, unless there’s OS specific style definition.oh my god. how can they default to a Microsoft localization style guide for localizing an iOS app?I've also pointed out to them that Apple's apps like Settings do not add spaces, but without an official Apple documentation the L10n team doesn't want t
Replies
4
Boosts
0
Views
4.5k
Activity
Oct ’18
App Clip Not Launching From Approved Apple Maps Action Link
We’ve set up an advanced App Clip experience that successfully launches when a user scans our QR code. However, the same App Clip invocation URL does not launch when tapping the associated Action Link on our Apple Place Card in Apple Maps. Instead of opening the App Clip, the link falls back to the website. What We Have Done So Far: App Clip Launched in App Store Connect: Our App Clip is approved and live on the App Store. Here is the invocation URL: https://appclip.parkzenapp.com/park?q=oJrbSIgx Below is the QR code for our Advanced App Clip experience we are attempting to open in our Apple Maps Place card When scanning the QR code that uses the same App Clip invocation URL, the App Clip reliably launches as expected. Here is our apple-app-site-association file, thats correctly served from the associated domain: https://appclip.parkzenapp.com/.well-known/apple-app-site-association Add here is a screenshot showing how the appclip.parkzenapp.com do
Replies
0
Boosts
0
Views
533
Activity
Dec ’24
Tier Guide line?
I'm launching game app.but rejected twice.ReasonYour game app includes in-app purchase products for consumable credits priced over $99.99, Tier 60.I aksed this reason to Apple, againwhy not? I want selling $99.99 over that in-appBut same reply got it...I have not seen that guideline.Where is that InApp Price guide line?
Replies
4
Boosts
0
Views
2k
Activity
Jul ’18
Best way to integrate large number of icons with MapKit (Apple Maps)
I'm developing an iOS app that displays store locations on a map using Apple Maps (MapKit). I've limit the number of icons that can be displayed on the map to 100, but there's still huge performance issues and the app is very laggy even on modern iPhone models. What's the best practice when displaying a large number of icons on a map, should the icons be in PNG format with a small resolution (~10kb) or should the icons be vector (SVG) for best performance? Should I use the MapKit framework for iOS 17 or the UIKit approach?
Replies
1
Boosts
0
Views
867
Activity
Apr ’24
Reply to BIErrorDomain error 8.
When I tried to download macOS Big Sur on an external usb, I could only get it to work by using GUID partition mapping and APFS unencrypted format, though you will need at least 35gb of free space to download it I hope this works!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’20
Launch Apple Maps app with a destination and "No Highways" automatically selected?
Hi, I am trying to build a button in our app that when pressed, will launch users to their native Maps app with their destination pre-entered and No Highways automatically selected.Currently I am doing this using the Maps URL http://maps.apple.com/?daddr=+destinationCoords+&dirflg=d, where destinationCoords is the coordinates of the user's selected destination, like 33,-122.The problem is, the Maps URL scheme does not seem to support a parameter for avoiding highways, https://developer.apple.com/library/content/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.htmlI tried looking at MKMapItem's openMaps and openInMaps but those don't seem to support launching Maps with No Highways automatically selected either. I had no problem doing this with Google Maps. Is there any way at all to do the same with Apple Maps?Thanks,Terry
Replies
3
Boosts
0
Views
1.9k
Activity
Nov ’16