UI
-
A
ChatViewControllerinstance represents a view controller that handles chat interaction for theEngagementSDK.Once an instance of
ChatViewControllerhas been created, aContentSessionobject needs to be set to link theChatControllerwith the program/CMS. The ‘ContentSession’ can be changed at any time.The
ChatViewControllercan be presented as-is or placed inside aUIViewas a child UIViewController. See Apple Documentation for more information.If the
ChatViewControlleris placed inside another view, please take note of the minimum size restrictions. This restriction can be ignored by settingignoreSizeRestrictions.Also, an extension was included for convenience to help add a view controller inside of a specificied view. Please see
See moreUIViewController.addChild(viewController:view:)for more information
-
A factory that builds the EngagementSDK’s Default Widget UI for each
See moreWidgetModel
UI Reference