TKPhoneActionHandler
public class TKPhoneActionHandler : TKInterAppExternalActionHandler
Handler for tel:
actions, bringing up the Phone app,
optionally showing a name nominated by the TripGo backend.
Warning
This only works if you add thetel
URL scheme to the
LSApplicationQueriesSchemes
of your app’s Info.plist
, e.g.,:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>tel</string>
...
</array>
-
Undocumented
Declaration
Swift
public let priority: TKInterAppExternalActionPriority
-
Undocumented
Declaration
Swift
public let type: TKInterAppCommunicator.ExternalActionType
-
Undocumented
Declaration
Swift
public func canHandle(_ string: TKInterAppIdentifier) -> Bool
-
Undocumented
Declaration
Swift
public func title(for identifier: TKInterAppIdentifier) -> String
-
Undocumented
Declaration
Swift
public func performAction(for identifier: TKInterAppIdentifier, segment: TKSegment?, presenter: UIViewController, sender: Any?)