Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Swift
@objc public class TKInterAppCommunicator : NSObject
-
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 theLSApplicationQueriesSchemes
of your app’sInfo.plist
, e.g.,:
See more<key>LSApplicationQueriesSchemes</key> <array> <string>tel</string> ... </array>
Declaration
Swift
public class TKPhoneActionHandler : TKInterAppExternalActionHandler
-
Handler for
sms:
actions, bringing up the Messages app, optionally pre-filling a message.Warning
This only works if you add thesms
URL scheme to theLSApplicationQueriesSchemes
of your app’sInfo.plist
, e.g.,:
See more<key>LSApplicationQueriesSchemes</key> <array> <string>sms</string> ... </array>
Declaration
Swift
public class TKSMSActionHandler : TKInterAppExternalActionHandler
-
Handler for
See morehttp:
andhttps:
actions, which refers back to the default handler inTKInterAppCommunicator.openURLHandler
Declaration
Swift
public class TKWebActionHandler : TKInterAppExternalActionHandler