LocationHandlerApp
enum LocationHandlerApp
This enum abstracts the particulars of having multiple apps that can deal with the location.
-
The built-in Apple Maps app.
Declaration
Swift
case appleMaps(location: CLPlacemark, name: String)
Parameters
location
The placemark for the location.
name
The name of the meeting.
-
The Google Maps app.
Declaration
Swift
case googleMaps(location: CLPlacemark, name: String)
Parameters
location
The placemark for the location.
name
The name of the meeting.
-
The (Google) Waze app.
Declaration
Swift
case waze(location: CLPlacemark, name: String)
Parameters
location
The placemark for the location.
name
The name of the meeting.
-
This returns the Universal Links URL for each of the types of apps.
Declaration
Swift
var appURL: URL? { get }
-
This returns the App title.
Declaration
Swift
var appTitle: String { get }