# How to remove the "Invite Link" option in the top bar menu

**URL:** <https://devforum.zoom.us/t/how-to-remove-the-invite-link-option-in-the-top-bar-menu/53813>\
**Category:** iOS\
**Tags:** faq-ios\
**Created:** [July 8, 2021, 7:40am UTC](https://devforum.zoom.us/t/how-to-remove-the-invite-link-option-in-the-top-bar-menu/53813 "2021-07-08T07:40:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dayal](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@dayal](https://devforum.zoom.us/u/dayal)\
**Post date:** [July 8, 2021, 7:40am UTC](https://devforum.zoom.us/t/how-to-remove-the-invite-link-option-in-the-top-bar-menu/53813/1 "2021-07-08T07:40:49Z")

</div>

**Description**  
How to hide the Invite link from the top menu.

**Screenshots**  
Screenshot added

 ![IMG_F823203DE846-1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/f/cf72bad4b06b1161578b9b4ab4412e46e176f458.jpeg)

---

<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:** [July 8, 2021, 4:56pm UTC](https://devforum.zoom.us/t/how-to-remove-the-invite-link-option-in-the-top-bar-menu/53813/2 "2021-07-08T16:56:37Z")

</div>

Hey @dayal,

Thanks for using the dev forum!

That link cannot be hidden without using a Custom Meeting UI.

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![dayal](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@dayal](https://devforum.zoom.us/u/dayal)\
**Post date:** [July 9, 2021, 12:30pm UTC](https://devforum.zoom.us/t/how-to-remove-the-invite-link-option-in-the-top-bar-menu/53813/3 "2021-07-09T12:30:48Z")

</div>

Hi Michale…i manged to disable click to that Topbar by bringing a view over it…Hope this will help some people…

Declared a View  
let zoomMaskView = UIView()

In view did load I put this…

* * *

if let navigationController1 = UIApplication.shared.windows.first?.rootViewController as? UINavigationController {

```
        MobileRTC.shared().setMobileRTCRootController(navigationController1)
    }

```

window = UIApplication.shared.windows.first!

* * *

and call this delegate

* * *

```
func onMeetingStateChange(_ state: MobileRTCMeetingState) {
    switch state {
    case .connecting:
        print("Meeting Connecting")
    case .disconnecting:
        print("Meeting Disconnected")
        self.zoomMaskView.removeFromSuperview()
    case .ended:
        print("Meeting Ended")
        self.zoomMaskView.removeFromSuperview()
    case .failed:
        print("Meeting Failed")
        self.zoomMaskView.removeFromSuperview()
    case .idle:
        print("Meeting idle")
    case .inMeeting:
        print("Meeting InMeeting")
            
            let firstFrame = CGRect(x: 0, y: 0, width: 200, height: 75)
            zoomMaskView.frame = firstFrame
            zoomMaskView.center = CGPoint(x: window!.center.x, y: 44)
            zoomMaskView.backgroundColor = .red
            window!.addSubview(zoomMaskView)
    default:
        print("Current meeting state: \(state.rawValue)")
    }
    print("Current meeting state: \(state)")
}

```

* * *

---

<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:** [July 9, 2021, 6:17pm UTC](https://devforum.zoom.us/t/how-to-remove-the-invite-link-option-in-the-top-bar-menu/53813/4 "2021-07-09T18:17:27Z")

</div>

Hey @dayal,

Thanks for providing this!

Michael

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 9, 2021, 4:18am UTC](https://devforum.zoom.us/t/how-to-remove-the-invite-link-option-in-the-top-bar-menu/53813/5 "2021-08-09T04:18:12Z")

</div>

Closed on August 9, 2021, 4:18am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
