# VideoAspect doesn't work on iOS

**URL:** <https://devforum.zoom.us/t/videoaspect-doesnt-work-on-ios/52270>\
**Category:** iOS\
**Created:** [June 11, 2021, 2:26pm UTC](https://devforum.zoom.us/t/videoaspect-doesnt-work-on-ios/52270 "2021-06-11T14:26:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jiro](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@Jiro](https://devforum.zoom.us/u/Jiro)\
**Post date:** [June 11, 2021, 2:26pm UTC](https://devforum.zoom.us/t/videoaspect-doesnt-work-on-ios/52270/1 "2021-06-11T14:26:53Z")

</div>

**Description**  
I’m working on app with Zoom Video SDK on Android and iOS both platforms.

on Android

```auto
val canvas = sdkUser.videoCanvas
canvas.subscribe(view, ZoomInstantSDKVideoAspect.ZoomInstantSDKVideoAspect_PanAndScan)

```

on iOS

```auto
if let canvas = sdkUser.getVideoCanvas() {
  canvas.subscribe(with: view, andAspectMode: .panAndScan)
}

```

My app creates square views with pan\_and\_scans option for rendering.

On Android, above code works well.

On iOS, self camera image works as intended.  
But remote image from Android is displayed as letter\_box.

You can reproduce this issue on Zoom Renderer mode with Sample App of Zoom Video SDK.

I know it works with Metal or GL renderers, but I’d rather avoid porting them in my app if possible.

Please fix this issue.

**Which Mobile Video SDK version?**  
iOS Video SDK 1.0.2

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Setup Sample Apps of Zoom Video SDK.
2. Create session and login with iOS and Android.
3. Both device set as portrait.
4. See tumbnail views. On iOS, you can see letter box on square thumbnail image.

**Screenshots**

 ![IMG_0207.PNG](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/d/8dd9346a8264a7be8042fa587499a3599394f3ea.jpeg)

see Pixel 3a’s thumbnail. it’s letter-boxed.

**Smartphone (please complete the following information):**

- Device: iPhone X
- OS: iOS 14.6

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [June 11, 2021, 4:45pm UTC](https://devforum.zoom.us/t/videoaspect-doesnt-work-on-ios/52270/2 "2021-06-11T16:45:09Z")

</div>

Hey @Jiro,

Thanks for using the dev forum!

The sample iOS application sets those example views to letterbox by default. If you tap on the views at the bottom, you will see them change to pan and scan.

Thanks!  
Michael

---

<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:** [July 12, 2021, 2:45am UTC](https://devforum.zoom.us/t/videoaspect-doesnt-work-on-ios/52270/3 "2021-07-12T02:45:30Z")

</div>

Closed on July 12, 2021, 2:45am UTC

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