Contents

openInMaps(launchOptions:completionHandler:)

Opens the Maps app and displays the map item.

Declaration

func openInMaps(launchOptions: [String : Any]? = nil, completionHandler completion: (@Sendable (Bool) -> Void)? = nil)
func openInMaps(launchOptions: [String : Any]? = nil) async -> Bool

Parameters

  • launchOptions:

    A dictionary of launch options to pass to the Maps app.

  • completion:

    A completion block the system calls that indicates whether the request was successful.

See Also

Launching the Maps app