Initializer

init(style:)

Initializes a chat button with the specified style.

Declaration

init(style: BCChatButton.Style)

Parameters

style

The button style.

Return Value

A chat button initialized with the specified style.

Discussion

Use this method to initialize a chat button in your app. After creating the button, add it to a parent view, and set the target object and action method for the button. For more information, see Starting a Chat from your App.

See Also

Creating a Chat Button

enum BCChatButton.Style

The styles that determine the look of the chat button.