# ZoomSDKAnnotationController Custom Annotation Methods Always Failing

**URL:** <https://devforum.zoom.us/t/zoomsdkannotationcontroller-custom-annotation-methods-always-failing/32049>\
**Category:** macOS\
**Created:** [October 3, 2020, 3:22am UTC](https://devforum.zoom.us/t/zoomsdkannotationcontroller-custom-annotation-methods-always-failing/32049 "2020-10-03T03:22:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stalefishlabs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stalefishlabs/32/16374_2.png) [@stalefishlabs](https://devforum.zoom.us/u/stalefishlabs)\
**Post date:** [October 3, 2020, 3:22am UTC](https://devforum.zoom.us/t/zoomsdkannotationcontroller-custom-annotation-methods-always-failing/32049/1 "2020-10-03T03:22:34Z")

</div>

**Description**  
My MacOS desktop app is using a custom UI, calling startWhiteBoardShare to start sharing a whiteboard using the ZoomSDKASController class. When getting an annotation controller (ZoomSDKAnnotationController) via getAnnotationController and calling any subsequent annotation method on it, such as setTool or setColor, I get a ZoomSDKError\_ServiceFailed error. I’ve tried with various tools, colors, and screen types, always erroring out. Any thoughts?

**Which version?**  
I’m using the latest Zoom SDK for MacOS 5.0 release, presumably v5.0.24433.0616 on MacOS Catalina v10.15.7 with Xcode 10.3.

---

<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:** [October 10, 2020, 3:41am UTC](https://devforum.zoom.us/t/zoomsdkannotationcontroller-custom-annotation-methods-always-failing/32049/2 "2020-10-10T03:41:04Z")

</div>

Hi @stalefishlabs,

Thanks for using Zoom SDK and pardon the late response. When using the annotation in Custom UI, please use the interfaces in `ZoomSDKCustomizedAnnotationCtr.h`. The interfaces in `ZoomSDKAnnotationController.h` is for Zoom default UI. Please have a try.

Thanks!

---

<div class="post-metadata">

**Author:** ![stalefishlabs](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/stalefishlabs/32/16374_2.png) [@stalefishlabs](https://devforum.zoom.us/u/stalefishlabs)\
**Post date:** [October 11, 2020, 4:57pm UTC](https://devforum.zoom.us/t/zoomsdkannotationcontroller-custom-annotation-methods-always-failing/32049/3 "2020-10-11T16:57:51Z")

</div>

Thanks so much for the reply. I was confused about the roles of the two annotation controllers. That resolves my problem.

---

<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:** [October 17, 2020, 2:44am UTC](https://devforum.zoom.us/t/zoomsdkannotationcontroller-custom-annotation-methods-always-failing/32049/4 "2020-10-17T02:44:20Z")

</div>

Glad to be helpful. 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:** [October 17, 2020, 2:44am UTC](https://devforum.zoom.us/t/zoomsdkannotationcontroller-custom-annotation-methods-always-failing/32049/5 "2020-10-17T02:44:22Z")

</div>

Closed on October 17, 2020, 2:44am UTC


