title: How do I invite users to my session using Multipeer Connectivity framework?
body: <p>In <code>viewDidLoad</code> I setup my session:</p>
  <pre><code>    peerID = MCPeerID(displayName: UIDevice.current.name)
      mcSession = MCSession(peer: peerID, securityIdentity: nil, encryptionPreference: .required)
      mcSession.delegate = self
      mcAdvertiserAssistant = MCAdvertiserAssistant(serviceType: &quot;hws-kb&quot;, discoveryInfo: nil, session: mcSession)
  </code></pre>
  <p>and have four actions:</p>
  <pre><code>func startHosting() {
      mcAdvertiserAssistant.start() //run the session
  }
  func endHosting() {
      mcAdvertiserAssistant.stop() //stop the session
  }
  func joinSession() {
      let mcBrowser = MCBrowserViewController(serviceType: &quot;hws-kb&quot;, session: mcSession)
      mcBrowser.delegate = self
      present(mcBrowser, animated: true) //join me to active session
  }
  func leaveSession() {
      mcSession.disconnect() //leave me from active session
  }
  
  //how do Invite others to my session?
  </code></pre>
  <p>The above way all I can control is to accept or decline when someone wants to connect. But I would like to personally send invitations to the users and not allow the others to join without my invitation. Is it possible?</p>