A label that displays the current participant count. Automatically updates when participants join or leave the meeting.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
meeting |
RealtimeKitClient |
✅ | - | The RealtimeKit client instance for the active meeting |
appearance |
RtkTextAppearance |
❌ | AppTheme.shared.participantCountAppearance |
Text appearance configuration for font and color |
import RealtimeKitUI
let countView = RtkParticipantCountView(meeting: rtkClient)
view.addSubview(countView)import RealtimeKitUI
let appearance = RtkTextAppearance(
font: UIFont.systemFont(ofSize: 14, weight: .medium),
textColor: .lightGray
)
let countView = RtkParticipantCountView(
meeting: rtkClient,
appearance: appearance
)
view.addSubview(countView)