# Video for remote user is not rotating

**URL:** <https://devforum.zoom.us/t/video-for-remote-user-is-not-rotating/125505>\
**Category:** iOS\
**Created:** [January 29, 2025, 10:23am UTC](https://devforum.zoom.us/t/video-for-remote-user-is-not-rotating/125505 "2025-01-29T10:23:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maarouf.karakeh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maarouf.karakeh/32/60273_2.png) [@maarouf.karakeh](https://devforum.zoom.us/u/maarouf.karakeh)\
**Post date:** [January 29, 2025, 10:23am UTC](https://devforum.zoom.us/t/video-for-remote-user-is-not-rotating/125505/1 "2025-01-29T10:23:36Z")

</div>

### **Description**

I’m using the **Zoom Video SDK for iOS** to implement a video call interface. My project is designed for **portrait mode only** , but I’m trying to enable **landscape support**. However, when the device rotates to **landscape mode** , the video canvas does not resize properly. Instead of filling the screen, it keeps the same dimensions as in **portrait mode** , leaving black bars on the sides.

I want the **Zoom video canvas** to fully adjust to the screen when rotating between portrait and landscape modes.

* * *

### **Which iOS Video SDK version?**

Version: **‘2.1.0’**

* * *

### **To Reproduce (If applicable)**

Steps to reproduce the behavior:

1. Start a Zoom Video SDK session.
2. Display the primary video feed in a `UIView`.
3. Rotate the device to **landscape mode**.
4. The video canvas does not adjust to the full screen.

* * *

### **Troubleshooting Routes**

- ✅ Checked device orientation settings in `UIDevice.current.orientation`.
- ✅ Attempted to manually update `UIView` frame using `UIScreen.main.bounds`.
- ✅ Used `CGAffineTransform(rotationAngle:)` to swap width and height (didn’t work).
- ✅ Tried enabling landscape mode in **Info.plist** and programmatically (still no solution).

### **Additional Context**

Any help would be greatly appreciated. Thank you! 😊

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 28, 2025, 8:24pm UTC](https://devforum.zoom.us/t/video-for-remote-user-is-not-rotating/125505/2 "2025-02-28T20:24:28Z")

</div>

Closed on February 28, 2025, 8:24pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
