问题描述
我已按照以下步骤设置了我的连通性:
peerID = MCPeerID(displayName: Settings.shared.myName)
mcSession = MCSession(peer: peerID,securityIdentity: nil,encryptionPreference: .required)
mcSession.delegate = self
mcAdvertiserAssistant = MCAdvertiserAssistant(serviceType: "hws-kb",discoveryInfo: nil,session: mcSession)
但是现在在我将其他一些对等连接到会话之后,如何防止别人发现我?
或者我该如何简单地不显示邀请警报?有没有办法做到这一点?我不想停止活动。只需关上其他同行的大门即可。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)