# Volume on/off button on the attendee side

**URL:** <https://devforum.zoom.us/t/volume-on-off-button-on-the-attendee-side/5742>\
**Category:** iOS\
**Created:** [August 30, 2019, 4:28pm UTC](https://devforum.zoom.us/t/volume-on-off-button-on-the-attendee-side/5742 "2019-08-30T16:28:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssaylanc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ssaylanc/32/9765_2.png) [@ssaylanc](https://devforum.zoom.us/u/ssaylanc)\
**Post date:** [August 30, 2019, 4:28pm UTC](https://devforum.zoom.us/t/volume-on-off-button-on-the-attendee-side/5742/1 "2019-08-30T16:28:58Z")

</div>

On the attendee side there is a volume on/off button. In the Sample App I couldn’t find with function is connected to this button. Could you please guide me.

In TopPanelView.m file there is no audio button:

```
    [self addSubview:self.shrinkBtn];
    [self addSubview:self.cameraSwitchBtn];
    [self addSubview:self.titleLabel];
    [self addSubview:self.leaveBtn];

```

I am using the latest SDK : v4.4.55130.0712

---

<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:** [August 30, 2019, 8:29pm UTC](https://devforum.zoom.us/t/volume-on-off-button-on-the-attendee-side/5742/2 "2019-08-30T20:29:33Z")

</div>

Hi ssaylanc,

Thanks for the post. Are you referring to this icon(in red)?  
 ![PNG](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/d555c0ec96fc0c4791e693ef27bb1d03f37bf7c2.jpeg)

Thanks!

---

<div class="post-metadata">

**Author:** ![Murray\_Li](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/murray_li/32/58_2.png) [@Murray\_Li](https://devforum.zoom.us/u/Murray_Li)\
**Post date:** [September 3, 2019, 5:52am UTC](https://devforum.zoom.us/t/volume-on-off-button-on-the-attendee-side/5742/3 "2019-09-03T05:52:10Z")

</div>

Hi  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/46e206c6f5f52d56b9107e32bad84354a376dc34.png)  
The UI is Zoom UI, Most things are covered by the SDK.

TopPanelView.m is our Sample code to guide How to use a custom UI.

Zoomui is easy to use, but if zoom UI doesn’t fit your needs, you can develop a custom UI.

Murray  
Thanks.

---

<div class="post-metadata">

**Author:** ![ssaylanc](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ssaylanc/32/9765_2.png) [@ssaylanc](https://devforum.zoom.us/u/ssaylanc)\
**Post date:** [September 10, 2019, 3:03pm UTC](https://devforum.zoom.us/t/volume-on-off-button-on-the-attendee-side/5742/4 "2019-09-10T15:03:35Z")

</div>

Hi Murray, yes that’s the mute button I am referring. But I couldn’t find the function to mute the audio in the code. Could you please guide me.

---

<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:** [September 10, 2019, 9:58pm UTC](https://devforum.zoom.us/t/volume-on-off-button-on-the-attendee-side/5742/5 "2019-09-10T21:58:38Z")

</div>

Hi [ssaylanc](https://devforum.zoom.us/u/ssaylanc),

The icon you are looking is the icon for switching the loudspeaker on/off. If you would like to control the audio in the code, you can use `muteMyAudio`([https://zoom.github.io/zoom-sdk-ios/category\_mobile\_r\_t\_c\_meeting\_service\_07\_audio\_08.html#afe5b3b9a9339a7afd798d0e1e5265d69](https://zoom.github.io/zoom-sdk-ios/category_mobile_r_t_c_meeting_service_07_audio_08.html#afe5b3b9a9339a7afd798d0e1e5265d69)) to control that.

Hope this helps.Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:40pm UTC](https://devforum.zoom.us/t/volume-on-off-button-on-the-attendee-side/5742/6 "2020-08-21T18:40:45Z")

</div>

Closed on August 21, 2020, 6:40pm UTC


