Base control bar view with a More menu button and an End Call button.
Serves as the foundation for RtkMeetingControlBar and RtkWebinarControlBar.
Parameter Type Required Default Description meetingRealtimeKitClient✅ - The RealtimeKit client instance delegateRtkTabBarDelegate?✅ - Delegate for handling tab bar interactions presentingViewControllerUIViewController✅ - View controller used for presenting modal screens appearanceRtkControlBarAppearance❌ RtkControlBarAppearanceModel()Appearance configuration for the control bar settingViewControllerCompletion(() -> Void)?❌ nilClosure called when the settings view controller dismisses onLeaveMeetingCompletion(() -> Void)?❌ nilClosure called when the participant leaves the meeting
Property Type Required Default Description moreButtonRtkMoreButtonControlBar- - The More menu button (read-only) endCallButtonRtkEndMeetingControlBarButton- - The End Call button
let controlBar = RtkControlBar (
presentingViewController : self
view. addSubview ( controlBar )
let controlBar = RtkControlBar (
presentingViewController : self ,
onLeaveMeetingCompletion : {
self .dismiss ( animated : true )
view. addSubview ( controlBar )