# How do I add annotation to a custom UI when watching others share

**URL:** <https://devforum.zoom.us/t/how-do-i-add-annotation-to-a-custom-ui-when-watching-others-share/35437>\
**Category:** macOS\
**Created:** [November 9, 2020, 6:04am UTC](https://devforum.zoom.us/t/how-do-i-add-annotation-to-a-custom-ui-when-watching-others-share/35437 "2020-11-09T06:04:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![15604510000](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/15604510000/32/12797_2.png) [@15604510000](https://devforum.zoom.us/u/15604510000)\
**Post date:** [November 9, 2020, 6:04am UTC](https://devforum.zoom.us/t/how-do-i-add-annotation-to-a-custom-ui-when-watching-others-share/35437/1 "2020-11-09T06:04:01Z")

</div>

**Description**  
When using a custom UI, how should this side add annotation after entering a meeting and other members initiate a Shared operation

**Which version?**  
5.2

Steps to reproduce the behavior:  
1.B joins A’s meeting  
2.A initiates the sharing operation; B watches the Shared content  
3. How do I add annotation to Shared content  
4. When I call startAnnotation, error = ZoomSDKError\_WrongUsage. How should I deal with it?

**Screenshots**

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

- Device: Mac
- OS: 10.15

---

<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:** [November 14, 2020, 2:24am UTC](https://devforum.zoom.us/t/how-do-i-add-annotation-to-a-custom-ui-when-watching-others-share/35437/2 "2020-11-14T02:24:06Z")

</div>

Hi @15604510000,

Thanks for the post. When using the Custom UI, you could leverage the interfaces in [https://zoom.github.io/zoom-sdk-macos/interface\_zoom\_s\_d\_k\_customized\_annotation\_ctr.html](https://zoom.github.io/zoom-sdk-macos/interface_zoom_s_d_k_customized_annotation_ctr.html) to customize the annotation tool. Please note that the class ZoomSDKCustomizedAnnotationCtr only works in Custom UI and ZoomSDKAnnotationController only works in default UI. So the startAnnotation interface only works for the default UI, using it in Custom UI will result in wrong usage error.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![15604510000](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/15604510000/32/12797_2.png) [@15604510000](https://devforum.zoom.us/u/15604510000)\
**Post date:** [November 16, 2020, 7:38am UTC](https://devforum.zoom.us/t/how-do-i-add-annotation-to-a-custom-ui-when-watching-others-share/35437/3 "2020-11-16T07:38:43Z")

</div>

Thank you for your reply, ZoomSDKCustomizedAnnotationCtr comments how to start?
