UI
-
A
ChatViewController
instance represents a view controller that handles chat interaction for theEngagementSDK
.Once an instance of
ChatViewController
has been created, aContentSession
object needs to be set to link theChatController
with the program/CMS. The ‘ContentSession’ can be changed at any time.The
ChatViewController
can be presented as-is or placed inside aUIView
as a child UIViewController. See Apple Documentation for more information.If the
ChatViewController
is 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