| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/realtime/realtimekit/ui-kit/api-reference/ios/rtk-control-bar/ | [Back] [Original] |
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 |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
- | The RealtimeKit client instance | |
delegate |
RtkTabBarDelegate? |
- | Delegate for handling tab bar interactions | |
presentingViewController |
UIViewController |
- | View controller used for presenting modal screens | |
appearance |
RtkControlBarAppearance |
RtkControlBarAppearanceModel() |
Appearance configuration for the control bar | |
settingViewControllerCompletion |
(() -> Void)? |
nil |
Closure called when the settings view controller dismisses | |
onLeaveMeetingCompletion |
(() -> Void)? |
nil |
Closure called when the participant leaves the meeting |
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
moreButton |
RtkMoreButtonControlBar |
- | - | The More menu button (read-only) |
endCallButton |
RtkEndMeetingControlBarButton |
- | - | The End Call button |
import RealtimeKitUI
let controlBar = RtkControlBar(
meeting: rtkClient,
delegate: self,
presentingViewController: self
)
view.addSubview(controlBar)
import RealtimeKitUI
let controlBar = RtkControlBar(
meeting: rtkClient,
delegate: self,
presentingViewController: self,
onLeaveMeetingCompletion: {
self.dismiss(animated: true)
}
)
view.addSubview(controlBar)| Web Proxy Viewer | New URL | Original Page |