| pcx_content_type |
reference |
| title |
RtkMoreButtonControlBar |
| description |
API reference for RtkMoreButtonControlBar component (iOS Library) |
| products |
|
A control bar button that opens a bottom sheet menu with meeting actions such as chat, polls, and participant list.
| Parameter |
Type |
Required |
Default |
Description |
meeting |
RealtimeKitClient |
✅ |
- |
The RealtimeKit client instance |
presentingViewController |
UIViewController |
✅ |
- |
View controller used to present the bottom sheet |
settingViewControllerCompletion |
(() -> Void)? |
❌ |
nil |
Closure called when the settings view controller dismisses |
| Method |
Return Type |
Description |
hideBottomSheet() |
Void |
Programmatically dismisses the bottom sheet menu |
import RealtimeKitUI
let moreButton = RtkMoreButtonControlBar(
meeting: rtkClient,
presentingViewController: self
)
view.addSubview(moreButton)
import RealtimeKitUI
let moreButton = RtkMoreButtonControlBar(
meeting: rtkClient,
presentingViewController: self,
settingViewControllerCompletion: {
print("Settings dismissed")
}
)
view.addSubview(moreButton)