TUIRoomKit/Resources/TUIRoomKit.xcassets
folder to ensure that the icon color tone style is consistent throughout the app. Please keep the icon file name unchanged when replacing.strings.xml
files in the values-zh and values-en of the TUIRoomKit/Resources/Localized
folder to change the string content of the video conference interface.TUIRoomKit/Source/View
file:├── Component│ ├── ButtonItemView.swift //Universal view│ └── ListCellItemView.swift //Universal view└── Page├── RoomMainView.swift //Room main view├── RoomMainViewController.swift├── RoomRouter.swift //Routing└── Widget├── BottomNavigationBar //Bottom bar│ ├── BottomItemView.swift│ └── BottomView.swift├── FloatWindow //Floating window│ ├── RoomUserStatusView.swift│ └── RoomVideoFloatView.swift├── MediaSettings //Set up│ ├── MediaSettingView.swift│ └── VideoChoicePanel.swift├── TopNavigationBar //Top bar│ ├── TopItemView.swift│ └── TopView.swift├── UserControlPanel //User list│ ├── UserListManagerView.swift│ └── UserListView.swift├── RaiseHandControlPanel //Raise hand user management list│ └── RaiseHandApplicationListView.swift├── TransferOwnerControlPanel //Room transfer list│ └── TransferMasterView.swift├── PopUpControlPanel //Universal pop-up box│ ├── PopUpView.swift│ └── PopUpViewController.swift└── VideoSeat //Video display├── ScreenCaptureMaskView.swift├── TUIVideoSeatCell.swift├── TUIVideoSeatLayout.swift├── TUIVideoSeatUserStatusView.swift└── TUIVideoSeatView.swift
func createBottomData() {let muteVideoItem = ButtonItemData()//Set the default button titlemuteVideoItem.normalTitle = .unMuteVideoText//Set the button title after clickingmuteVideoItem.selectedTitle = .muteVideoText//Set the default button iconmuteVideoItem.normalIcon = "room_camera_on"//Set the button icon after clickingmuteVideoItem.selectedIcon = "room_camera_off"//Set the button image resource acquisition locationmuteVideoItem.resourceBundle = tuiRoomKitBundle()//Set whether the button is clickedmuteVideoItem.isSelect = !(roomInfo.isOpenCamera)//Set the button type to differentiate different buttonsmuteVideoItem.buttonType = .muteVideoItemType//Set the button click eventmuteVideoItem.action = { [weak self] sender inguard let self = self, let button = sender as? UIButton else { return }self.muteVideoAction(sender: button)}}
Was this page helpful?