Norway


I’m trying to work on a project for school and I can’t figure out how to get to just a that my has randomly picked from an array. I have tried to use:

mapItem.openInMaps(launchOptions: [MKLaunchOptionsDirectionsModeDefault : MKLaunchOptionsDirectionsModeDefault])

which just takes me directly to an area. it doesn’t search the surrounding area for “Wendy’s” or anything. I’ve also tried to use:

let request = MKLocalSearchRequest()
request.naturalLanguageQuery = “coffee”

Which I can’t for the life of me figure out how to use. I can provide code if asked further.



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here