Skip to main content

RtkControlBarButton

Overview

Subclass of UIButton
A skeleton component used for composing RealtimeKit buttons which are mostly add inside RtkTabBar This is a base class for component likes RtkAudioButtonControlBar RtkMoreButtonControlBar

Creating button

init(image: RtkImage, title: String = "", appearance: RtkControlBarButtonAppearance = RtkControlBarButtonAppearanceModel())

Parameters

Required
image: Instance of type RtkImage to be passed Optional title: title to be shown below the RtkImage. Default value of this is Empty Strings. appearance: Any type that follows RtkControlBarButtonAppearance