Search results for

Apple Maps Guides

149,563 results found

Post

Replies

Boosts

Views

Activity

AppRejection for using 3rd party Google Map
We have an app-rejection due the use of the 3rd party Google Map. Following is the relevant message:“Regarding 4.0.0, your app limits users to a third-party maps app. To resolve this issue, it would be appropriate to give users the option to launch the native Apple Maps app.”As understood, this is due to the reason that our app is prompting the user to use Google Map-App upon clicking on the “Google logo-link” at the bottom left corner of the Google Map. But in Google SDK, we don’t have any control on the click event on “Google logo-link” to load the choices (Apple Map or Google Map) as suggested in the rejection.Therefore, the only solution that we can think of is to remove the GoogleMap-App launch and instead load the Safari to use its default map management feature.May I know whether this would be sufficient?Or, please suggest any alternatives.Highly appreciate any feedback!Thanks!
2
0
1.3k
Nov ’17
MKLocationSearch is not responding with the results like Apple's "Maps" app gives.
Hi Team, I need to implement a place/location search. This search should work on the Globe like Maps application do when we search for something. I tried it with below code but it is responding with very limited data. Could you please review the below code and help me to build my requirement. tttlet request = MKLocalSearch.Request() ttttrequest.naturalLanguageQuery = searchField.text ttt ttttrequest.region = self.mapView.region; ttttlet search = MKLocalSearch(request: request) ttttsearch.start { response, _ in ttttguard let response = response else { ttttttreturn tttt} ttttttself.matchingItems = response.mapItems ttttttself.tableView.reloadData() tttt} I thougt this was might be the issue with region, So I tried to create region with MKCoordinateRegionMakeWithDistance by giving distance values. But it is still responding with same data that I got earlier. Below is the line of region created with Distance values. ttttlet region = MKCoordinateRegionMakeWithDistance(self.mapView.centerCoordinate, 300000
1
0
875
Nov ’20
About Drawing Maps In CarpPlay
I want to draw directions to a specific location in CarPlay. I realized that there are two different options that can be made regarding this. First of all, drawing a direct route from current location to the desired location. The second is to draw the route after showing our current location and selecting the location which we want to go on the map. Which would make more sense for me to do? Which authorization is appropriate for the situations I have mentioned? com.developer.apple.carplay-parking or com.developer.apple.carplay-maps? Parking or Map? If you developing an CarPlay Application I would appreciate it if you would also write about the resources you used on the subject. If you have knowledge about this subject, I am waiting for your answers ASAP! Thanks :)
0
0
1k
Oct ’22
get the GUID in macOS using Swift
In WWDC 2019 session In-App Purchases and Using Server-to-Server Notifications they say that in our server we must have in a database a field for the userId.I think that a good candidate to use as userId for iOS and tvOS would be identifierForVendor:UIDevice.current.identifierForVendor?.uuidStringAnd for macOS the GUID but the info that I found in the Apple documentation uses Objective-C instead of Swift:https://developer.apple.com/library/archive/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateLocally.html#//apple_ref/doc/uid/TP40010573-CH1-SW14Is there info about who to do it using Swift somewhere or should I use Objective-C?I also found some code of Swift in github, but I do not now if really get the real Mac UUID and also if this method is allowed by Apple. func macSerialNumber() -> String { let platformExpert: io_service_t = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching(IOPlatformExpertDevice)); guard let serialNumberAsCFString = IORegistr
Topic: UI Frameworks SubTopic: AppKit Tags:
0
0
3.6k
Jun ’19
A guide for learning how to use open AL
Hi, I want to know if there is a guide on using open AL. I want to know this because I am trying to create an audio game and I want to know how open AL works? Also, where can I get some audio libraries? I need to have some sound for my game and I want to know if there are some free libraries available?
1
0
922
Sep ’15
displacement map specification
Where can I find a specification document of displacement file baked_mesh_disp0.exr obtained from Full Quality result run by Reality Composer Pro? I ran Reality Composer Pro, selected Full Quality and ran Create Model, and obtained *.usdz, which I renamed to *.zip and unzipped. Then I found 5 maps including baked_mesh_disp0.exr and I want to know its data specification.
2
0
784
Jan ’24
ImageRenderer fails to render maps
The new ImageRenderer in SwiftUI is really great and should help me to remove some custom code I've had to write in the past. I've noticed that when used to capture a view that contains a map view, the map is replaced with a 'no entry' sign 🚫 Is this intentional? Here's some sample code to replicate the issue: https://gist.github.com/shaundon/282cf7ff276093681a1c246ae318c9d4
1
0
1.5k
Jun ’22
iPhone 7plus depth map
Is or will there be a built in feature to generate and access a depth map from the dual cameras on the iPhone 7 plus?We have all seen the Apple key note where they demonstrate how to use the cameras to create a shallow depth effect, but reading the API-reference I can't read more than how to access the raw input from the two cameras.Focus pixels is clearly something else since it is supported by earlier devices.
12
0
3.7k
Sep ’16
The definitive guide to getting an ERN for the App Store
If your application uses encryption in any way, even SSL or HTTPS, you need an Encryption Registration (ERN) from the US Bureau of Industry (BIS). I recently got one for an app that I got in the Mac App Store and I documented my whole journey to share it and be a guide for other people needing to do the same. It's actually not very hard, as long as you know the steps to take (twice I needed to call US agencies to figure out the next step). Here it is: How to legally submit an app to Apple’s App Store when it uses encryption (or how to obtain an ERN).Enjoy and feel free to ask any questions, I'll try to answer them and/or update the guide to the best of my knowledge. Oh... and disclaimer, I'm not a lawyer and this is not legal advice.
2
0
3.4k
Dec ’15
"Modern" NSWindow programming guide?
Does anyone know of any good guides or tutorials for NSWindow/NSDocument programming which cover modern API features like tabbing and accessory view controllers?I have an app I'm working on that needs some TLC to really shine with these new features and I'm somewhat at a loss, as the API docs don't really describe how to use these features in combination to achieve anything real.The relevant features of my app that I'm trying to make work:Operates primarily on a Project file which is an NSDocument subclass, and a package of (mostly) opaque internal NSDocument subclassesIndividual files within the Project package can be opened in separate tabs within the same project windowProject windows display a custom titlebar containing relevant controls/information (similar to Xcode or Safari)What I have sort of working is:Open a Project file... I can get the window title bar to show either: the standard proxy-icon/filename of the project filethe name of the current document (but no proxy-icon)Auto-tabbing for o
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
1.2k
Dec ’16
How to use Map initializers Xcode15
Hello, I'm trying to learn swift and making the Landmarks tutorial I found a problem with the map view. The error read as follow: 'init(coordinateRegion:interactionModes:showsUserLocation:userTrackingMode:)' was deprecated in iOS 17.0: Use Map initializers that take a MapContentBuilder instead. My code is: import MapKit struct MapView: View { @State private var region = MKCoordinateRegion( center: CLLocationCoordinate2D(latitude: 34.011_286, longitude: -116.166_868), span: MKCoordinateSpan(latitudeDelta: 0.2, longitudeDelta: 0.2) ) // The error happens here! var body: some View { Map(coordinateRegion: $region) } } #Preview { MapView() } Any suggestions about hot to solve this will be appreciate it. Thanks, BR Skalex
Topic: Safari & Web SubTopic: General Tags:
3
0
2.9k
Jul ’23
Does Apple have a Maps Geolocation API (look up location by IP address, Wi-Fi and cell tower)?
Hi all,Our project (which incorporates an iOS app) is currently using Google Maps Geolocation REST API to translate Wi-Fi and cell tower data coming from proprietary devices into GPS lat/long coordinates. https://developers.google.com/maps/documentation/geolocation/introFor example, you can look up the location of a Wi-Fi access point based on the following input:{ macAddress: 00:25:9c:cf:1c:ac, signalStrength: -43, age: 0, channel: 11, signalToNoiseRatio: 0}However, this service does not cover all of our customer's locations, particularly when the house has an iPhone only.Does Apple offer an equivalent REST API service, based on Apple Maps?Thanks,Henry
1
0
3.0k
Feb ’18
Google maps v3 crash
Hello,I've been developing a web app which utilizes the google maps javascript api and the markerwithlabel extension.After a bit of testing I found after having zoomed in on a marker, zooming out using a pinch gesture causes the entire Safari/Chrome tab to crash on an iPad 2 running iOS 8 and 9.Here is the code I used:HTML<div id=maptest/>Javascript$(function () { var map = new google.maps.Map(document.getElementById('maptest'), { zoom: 4, center: new google.maps.LatLng(0, 0), mapTypeId: google.maps.MapTypeId.ROADMAP }); for (var i = 0; i < 10; i++) { var marker = new MarkerWithLabel({ position: new google.maps.LatLng(i, i), map: map, labelContent: A, }); } });Css#maptest { width: 100vw; height: 100vh; }You can check it out in this fiddle:http://jsfiddle.net/mac89/h8w3v7v0/15/The crash seems to only occur when using a label, in this fiddle the crash does not happen:http://jsfiddle.net/mac89/h8w3v7v0/17/Decreasing the size of the map seems to lessen the cha
Topic: Safari & Web SubTopic: General Tags:
2
0
1.9k
Oct ’15