Adjust Screen Size of Video View

Description
Hello, I’m new to the iOS SDK and I got it to work in Swift. I’m working on integrating the SDK to an existing project and it requires the video UI to be small. Is there an example which I can use to fulfill that task in Swift?

Which version?
XCode: 11.4
zoom SDK ios: 4.6.15084.0206

Hi @rajal.patel,

Thanks for using Zoom SDK. Currently we do not have a Swift example. Our SDK supports Zoom default UI and Custom UI. Zoom default UI provides the same meeting UI as you see in the Zoom client and the meeting window can be minimized(But the size is fixed). Custom UI is to allow you to draw your own UI. What you are mentioning is possible with our Custom UI, please have a try with the demo app https://github.com/zoom/zoom-sdk-ios.

Hope this helps. Thanks!

Thank you so much for your response. How do I activate the Custom UI instead of the Default UI in the code? I tried debugging the codes that are related, but the program doesn’t seem to reach them.

Hi @rajal.patel,

If your account supports Custom UI(You could call https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/MeetingSettingsHelper.html#isCustomizedMeetingUIEnabled-- to check), you will need to enable the Custom UI mode by calling ZoomSDK.getInstance().getMeetingSettingsHelper().setCustomizedMeetingUIEnabled(true)(https://github.com/zoom/zoom-sdk-android/blob/master/mobilertc-android-studio/sample/src/main/java/us/zoom/sdksample/ui/MeetingSettingActivity.java#L179).

Hope this helps. Thanks!

How do I enable the Custom UI in Obj C?

Hi @rajal.patel,

It’s similar, you may refer to the implementation here: https://github.com/zoom/zoom-sdk-ios/blob/master/MobileRTCSample/MobileRTCSample/MeetingSettingsViewController.m#L783

Thank you for your recommendation! I managed to get my window to work with CustomUI, but the header and footer options disappeared from the screen (MobileRTCActiveVideoView). I tried setting a meeting setting bottomBarHidden to false but nothing happened. What method enables the options to appear?

Hi @rajal.patel,

Thanks for the reply. Setting bottomBarhidden only works for Zoom default UI. If you are using Custom UI, you have full control of your UI so for all UI related use cases, the developer needs to handle them.

Thanks!

Thank you for your response. Is there a way to adjust the screen size of the default UI?

Hi @rajal.patel,

There is “Minimize meeting window”(https://zoom.github.io/zoom-sdk-ios/interface_mobile_r_t_c_meeting_service.html#a25de310a3d56ef5a9aa83f9d41d45413) option available for the default UI, other than this, there is no other way to adjust the screen size in Zoom default UI.

Thanks!