# How to lock as horizontal screen mode

**URL:** <https://devforum.zoom.us/t/how-to-lock-as-horizontal-screen-mode/4200>\
**Category:** iOS\
**Created:** [May 9, 2019, 9:52am UTC](https://devforum.zoom.us/t/how-to-lock-as-horizontal-screen-mode/4200 "2019-05-09T09:52:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![guan\_bj](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@guan\_bj](https://devforum.zoom.us/u/guan_bj)\
**Post date:** [May 9, 2019, 9:52am UTC](https://devforum.zoom.us/t/how-to-lock-as-horizontal-screen-mode/4200/1 "2019-05-09T09:52:32Z")

</div>

I want to lock meeting UI as horizontal mode. Is there any api supporting it?

---

<div class="post-metadata">

**Author:** ![guan\_bj](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@guan\_bj](https://devforum.zoom.us/u/guan_bj)\
**Post date:** [May 9, 2019, 9:59am UTC](https://devforum.zoom.us/t/how-to-lock-as-horizontal-screen-mode/4200/2 "2019-05-09T09:59:46Z")

</div>

I mean even user phone is in OrientationPortrait location;

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 10, 2019, 2:30am UTC](https://devforum.zoom.us/t/how-to-lock-as-horizontal-screen-mode/4200/3 "2019-05-10T02:30:56Z")

</div>

Hi guan\_bj,  
Thanks for using Zoom SDK. We do not have existing interface to lock meeting UI. If you want to lock the orientation, here are some guidances (Not related to Zoom SDK):

- [https://stackoverflow.com/questions/31794317/how-can-i-lock-orientation-for-a-specific-view-an-objective-c-iphone-app-in-ios](https://stackoverflow.com/questions/31794317/how-can-i-lock-orientation-for-a-specific-view-an-objective-c-iphone-app-in-ios)
- [https://stackoverflow.com/questions/34709428/objc-disable-viewcontroller-rotation](https://stackoverflow.com/questions/34709428/objc-disable-viewcontroller-rotation)
- [https://developer.apple.com/documentation/uikit/uiviewcontroller/1621435-supportedinterfaceorientations?language=objc](https://developer.apple.com/documentation/uikit/uiviewcontroller/1621435-supportedinterfaceorientations?language=objc)
- [https://chrisrisner.com/31-Days-of-iOS-Day-16-Handling-Device-Orientation](https://chrisrisner.com/31-Days-of-iOS-Day-16-Handling-Device-Orientation)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![guan\_bj](https://avatars.discourse-cdn.com/v4/letter/g/e480ec/32.png) [@guan\_bj](https://devforum.zoom.us/u/guan_bj)\
**Post date:** [May 13, 2019, 6:19am UTC](https://devforum.zoom.us/t/how-to-lock-as-horizontal-screen-mode/4200/4 "2019-05-13T06:19:39Z")

</div>

Thanks Carson.  
I have implemented landscape when joining meeting. But it can’t be locked once user rotate device.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 14, 2019, 2:06am UTC](https://devforum.zoom.us/t/how-to-lock-as-horizontal-screen-mode/4200/5 "2019-05-14T02:06:10Z")

</div>

Hi,

Thanks for the reply. Our SDK supports both portrait and landscape. You will need to handle the orientation on your side. Configuring the following setting could be helpful:  
 ![43%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/505c61679c62dcc0192f3566aec88c81b5356012.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:17pm UTC](https://devforum.zoom.us/t/how-to-lock-as-horizontal-screen-mode/4200/6 "2020-08-21T18:17:41Z")

</div>

Closed on August 21, 2020, 6:17pm UTC


