Description
I would like to disable participants list, but keep chat. It looks like in iOS SDK its not possible, because chat button is located on participants screen.
Below is the workaround I’ve came to.
func onClickedParticipantsButton(_ parentVC: UIViewController) -> Bool {
let viewController = (NSClassFromString("ZMInMeetingChatViewController") as! UIViewController.Type).init()
let navigationController = (NSClassFromString("ZMNavigationController") as! UINavigationController.Type).init(rootViewController: viewController)
UIViewController.topPresenting().present(navigationController, animated: true, completion: nil)
return false
}
Is there any other way? Are there any issues I can expect?
Thank you.
Which version?
v4.4.56624.1028
Screenshots