Overview
Sendbird Live UIKit for iOS allows you to create customizable views and execute essential live functions such as create live events, list live events, host live events, and more. The following is a list of key functions which are provided in each corresponding view controller. Each function corresponds to a single view controller that creates the UI views.
UIKit for iOS provides pre-built UI components for the following functions.
List of key functions
Key function | ViewController | Description |
---|---|---|
List live events | LiveEventListViewController | Allows a user to list, create, and enter a live event. |
Create a live event | CreateLiveEventViewController | Allows a user to create and enter a live event. |
Host a live event | LiveEventHostviewController | Allows a user to select users to host, start, and end a live event, and manage media during a live event. |
View a live event | LiveEventParticipantviewController | Allows a user to watch and chat in a live event. |
Customization
If you don't want to use the default view controller provided by the Live UIKit, you can customize the UI components in the Live UIKit to best suit your needs. The following are the three major ways you can customize the components.
1. Change the behavior of a view by overriding the functions
You can create a view controller which shares the interfaces of a pre-built view controller and override its functions to change the behavior of the Live UIKit.
2. Change certain behaviors across the UIKit by modifying the public UI properties
You can add option flags and variables to change the corresponding UIKit behaviors.
3. Change the style by customizing SBUStringSet
, SBUColorSet
, SBUIconSet
, and SBUFontSet
By changing the values of global sets such as SBUStringSet
, SBUIconSet
, SBUColorSet
, and SBUFontSet
, you can change the default values for strings, icons, colors, and fonts in the UIKit respectively.