Hide Invite Button iOS SDK

Description
I want to hide Invite option button in zoom SDK. I find the solution in Android SDK by using No_Invite property. But I can not find such option in iOS SDK. Can you please help me to hide the invite button in iOS SDK.

Screenshots
Check below properties for the MobileRTCMeetingStartParam4WithoutLoginUser

Thanks

Hey @smartwaymedia,

Thanks for using the dev forum!

The iOS equivalent for this method is meetingInviteHidden in MobileRTCMeetingSettings.

Thanks!
Michael

Thanks for your reply. Sorry for asking silly questions but can you please explain me how can I use the MobileRTCMeetingSettings to start the meeting. I try to find but I’m not able to find how to pass meeting setting on start or join meeting.

Here is my code to start the meeting

  let ms = MobileRTC.shared().getMeetingService()
            var param: MobileRTCMeetingStartParam? = nil
            if let ms = ms {
                
                let user = MobileRTCMeetingStartParam4WithoutLoginUser()
                user.meetingNumber = self.Selectedmeeting_id
                user.userType = MobileRTCUserType_APIUser
                user.userName = Global.user!.empFullName
                user.userID = Global.user!.emp_zoom_user_id
                user.zak = self.SelectedmeetingZAK
               
                param = user
                _ = ms.startMeeting(with: param!)
            }

Here is my code to Join the meeting

 let ms = MobileRTC.shared().getMeetingService()
            if let ms = ms {
                let paramDict = [
                    kMeetingParam_Username: Global.user!.stuFullName + "(" + String(Global.user!.stuId) + ")",
                    kMeetingParam_MeetingNumber: data.meeting_id!,
                    kMeetingParam_UserID : Global.user!.stuId,
                    kMeetingParam_MeetingPassword: data.meeting_password!] as [String : Any] 
                ms.joinMeeting(with: paramDict as [AnyHashable : Any])
            }

Can you please help me how to pass or use the meeting setting. I really Appreciate.

Thanks
Krunal Nagvadia

Hey @smartwaymedia,

Yep, so right after you call getMeetingService you can also call getMeetingSettings:

let ms = MobileRTC.shared().getMeetingService()
let msettings = MobileRTC.shared().getMeetingSettings()

Then before calling joinMeeting or startMeeting, you can modify whatever setting you’d like:

msettings.meetingInviteHidden = true
param = user
 _ = ms.startMeeting(with: param!)

Thanks!
Michael

Thank you so much. This work perfectly fine.

Hey @smartwaymedia,

You are very welcome :slight_smile:
Please let us know if you have any other questions.

Thanks!
Michael

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