# Optimize screenshare - Animations looks choppy on screenshare in iOS

**URL:** <https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690>\
**Category:** iOS\
**Created:** [July 9, 2020, 2:50pm UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690 "2020-07-09T14:50:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandiyaraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pandiyaraj/32/7093_2.png) [@pandiyaraj](https://devforum.zoom.us/u/pandiyaraj)\
**Post date:** [July 9, 2020, 2:50pm UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/1 "2020-07-09T14:50:51Z")

</div>

Hi Team,

Our app has a sequence of images to be shown with animation on it. In iOS Zoom SDK, this animation is displayed on the guest side when screen sharing is on. It looks choppy and some animations were skiped to the guest.

Is there any way to enable optimize fullscreen clip and increase the refresh rate?

Please let us know how to resolve this?

**Which version?**  
v4.6.21666.0428

---

<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:** [July 10, 2020, 8:16am UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/2 "2020-07-10T08:16:40Z")

</div>

Hi @pandiyaraj,

Is this issue happen with the Zoom iOS Client? Which screen sharing method are you using to do the screen sharing?

---

<div class="post-metadata">

**Author:** ![pandiyaraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pandiyaraj/32/7093_2.png) [@pandiyaraj](https://devforum.zoom.us/u/pandiyaraj)\
**Post date:** [July 10, 2020, 8:26am UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/3 "2020-07-10T08:26:35Z")

</div>

Hi Carson,

Thanks for the reply. This happen in iOS Zoom SDK.

I am using with the help of MobileRTCScreenShare Framework and followed by this link

> **[3.1.4 Screen Share - 3.1 Zoom Meeting UI - 3. In-Meeting Function - Mastering...](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/in-meeting-function/zoom-meeting-ui/screen-share)**
>
> Screen Share
> 
> 
> 
> Contents
> 
> 
> 
> 1\\. Screen Sharing Warm Up
> 
> The screen sharing feature is a little bit tricky in iOS due to the strict screen capturing poli...

My Code snippet is:

DispatchQueue.main.async {  
if let ms = MobileRTC.shared().getMeetingService(){  
ms.startAppShare()  
ms.appShare(withView: self.view)  
}  
}

Please let me know any other information needed.

---

<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:** [July 11, 2020, 2:17am UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/4 "2020-07-11T02:17:18Z")

</div>

Hi @pandiyaraj,

Based on the code snippet, it seems like you are using the appShareWithView method to share. Please try to follow the instruction you have mentioned and implemented the broadcast extension for sharing. The broadcast extension will use iOS’s built-in features and ReplayKit to share, which has better performance in sharing screen.

Thanks!

---

<div class="post-metadata">

**Author:** ![pandiyaraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pandiyaraj/32/7093_2.png) [@pandiyaraj](https://devforum.zoom.us/u/pandiyaraj)\
**Post date:** [July 11, 2020, 6:04am UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/5 "2020-07-11T06:04:17Z")

</div>

Hi Carson,

Actually I have implemented a broadcast extension based on the document in my app and I am using custom UI for the Host Side (Device 1) and Default UI for the Guest Side(Participants). When I clicked the share button, I have implemented the above code snippet also start the broadcast from the notification bar. PFA of the screenshot

 ![IMG_0261.PNG](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/b/bf31e2ce01134008c45fd76ac36c1452527b5805.jpeg)

---

<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:** [July 18, 2020, 1:42am UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/6 "2020-07-18T01:42:20Z")

</div>

Hi @pandiyaraj,

If you have implemented the broadcast extension, you do not need to use the appShareWithView. You could use something like RPSystemBroadcastPickerView([https://developer.apple.com/documentation/replaykit/rpsystembroadcastpickerview?language=objc](https://developer.apple.com/documentation/replaykit/rpsystembroadcastpickerview?language=objc)) to trigger the broadcast menu. Once you press “Start Broadcast”, if the implementation is correct, the SDK will start sharing automatically.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![pandiyaraj](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/pandiyaraj/32/7093_2.png) [@pandiyaraj](https://devforum.zoom.us/u/pandiyaraj)\
**Post date:** [July 20, 2020, 5:03pm UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/7 "2020-07-20T17:03:27Z")

</div>

Hi Carson,

Thanks now working fine after adding the “RPSystemBroadcastPickerView” .

---

<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:** [July 29, 2020, 11:37am UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/8 "2020-07-29T11:37:31Z")

</div>

Glad to hear that! Then I will go ahead and close this thread. Please feel free to create another post if any other questions. 🙂

---

<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:** [July 29, 2020, 11:37am UTC](https://devforum.zoom.us/t/optimize-screenshare-animations-looks-choppy-on-screenshare-in-ios/23690/9 "2020-07-29T11:37:33Z")

</div>

Closed on July 29, 2020, 11:37am UTC


