# Hide the invite button and meeting information with swift

**URL:** <https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482>\
**Category:** iOS\
**Created:** [December 2, 2020, 9:30pm UTC](https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482 "2020-12-02T21:30:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhernandez](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dhernandez/32/17339_2.png) [@dhernandez](https://devforum.zoom.us/u/dhernandez)\
**Post date:** [December 2, 2020, 9:30pm UTC](https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482/1 "2020-12-02T21:30:21Z")

</div>

**Description**  
Hi, how can I disable the invite button and also the meeting information such as the meeting ID, passcode, invite link?

I’m using swift and I have the code as follows

```
 let getservice = MobileRTC.shared().getMeetingService()
 if let service = getservice {
     service.delegate = self
     let paramDict = [kMeetingParam_Username:kSDKUserName,kMeetingParam_MeetingNumber:meetingNo, kMeetingParam_MeetingPassword:"xxxx"]
     let response = service.joinMeeting(with: paramDict)
     print("onJoinMeeting, response: \(response)")
  }

```

extension ViewControllerZoom: MobileRTCMeetingServiceDelegate{  
func onMeetingStateChange(\_ state: MobileRTCMeetingState) {  
print("(state)")  
}  
}

Thank you in advance for your help

---

<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:** [December 2, 2020, 10:59pm UTC](https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482/2 "2020-12-02T22:59:09Z")

</div>

Hey @dhernandez

Thanks for using the dev forum!

To hide the invite button you can use:  
`MobileRTC.shared().getMeetingSettings()?.meetingInviteHidden = true`  
before joining the meeting.

To hide the password you can use:  
`MobileRTC.shared().getMeetingSettings()?.meetingPasswordHidden = true`

Unfortunately, there is no direct way to hide the meetingID currently. However, you can hide the whole top bar that contains the meetingID with:  
`MobileRTC.shared().getMeetingSettings()?.topBarHidden = true`

You can also implement your own custom UI from scratch, where you would only include the info you want for the meeting.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![dhernandez](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dhernandez/32/17339_2.png) [@dhernandez](https://devforum.zoom.us/u/dhernandez)\
**Post date:** [December 3, 2020, 4:08am UTC](https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482/3 "2020-12-03T04:08:02Z")

</div>

Thank you very much for your help @Michael_Condon , I have managed to hide the invite button  
.  
I have one more question, is there a way to hide the invitation link?

If I cannot hide this invitation link and instead of that I have to hide the entire top bar, I was reviewing the documentation and wanted to know if I can put the option to leave the meeting in this menu:

 ![1550010377685](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/d/1da1e6d5e9c8c3343515383f059beb36ed4a9a14.jpeg)

Thank you in advance for your help

---

<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:** [December 5, 2020, 1:30am UTC](https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482/4 "2020-12-05T01:30:18Z")

</div>

Hey @dhernandez,

My mistake, I had read invite button 🙂 No you cannot hide that invite link specifically. You would have to implement a custom meeting UI.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![Unique\_nick](https://avatars.discourse-cdn.com/v4/letter/u/82dd89/32.png) [@Unique\_nick](https://devforum.zoom.us/u/Unique_nick)\
**Post date:** [December 22, 2020, 12:12pm UTC](https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482/5 "2020-12-22T12:12:35Z")

</div>

hey @dhernandez, how can you managed to hide the invite button or zoom meeting details , please share your code or github link , TIA

---

<div class="post-metadata">

**Author:** ![Unique\_nick](https://avatars.discourse-cdn.com/v4/letter/u/82dd89/32.png) [@Unique\_nick](https://devforum.zoom.us/u/Unique_nick)\
**Post date:** [December 22, 2020, 12:16pm UTC](https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482/6 "2020-12-22T12:16:28Z")

</div>

~~how~~~~ can ~~~~you~~~~ managed ~~~~to~~~~ hide ~~~~the~~~~ invite ~~~~button~~~~ or ~~~~zoom~~~~ meeting ~~~~details~~~~ , ~~~~ please ~~~~share~~~~ your ~~~~code~~~~ or ~~~~github~~~~ link ~~~~,~~  ~~TIA~~

---

<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:** [December 23, 2020, 9:22pm UTC](https://devforum.zoom.us/t/hide-the-invite-button-and-meeting-information-with-swift/37482/7 "2020-12-23T21:22:13Z")

</div>

Hey @Unique_nick,

Thanks for using the dev forum.

To hide the invite button use this code:

Swift:  
if let meetingSettings = MobileRTC.shared()?. getMeetingSettings {  
meetingSettings.meetingInviteHidden = true  
}  
ObjectiveC:  
[[MobileRTC sharedRTC] getMeetingSettings].meetingInviteHidden = YES;

You can only hide the meeting details by implementing a custom meeting UI or by hiding the top bar.  
Swift:  
if let meetingSettings = MobileRTC.shared()?. getMeetingSettings {  
meetingSettings.topBarHidden = true  
}  
ObjectiveC:  
[[MobileRTC sharedRTC] getMeetingSettings].topBarHidden = YES;

Thanks!  
Michael
