Toggle navigation
Toggle navigation
This project
Loading...
Sign in
hh_public
/
hhvDoctorSDK.ios
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
3
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chengyanfang
2020-11-09 18:05:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8f3f4a131f6345127bf5e615732dfdae2564e879
8f3f4a13
1 parent
05c2a7d2
fix ui
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
untitled
untitled
0 → 100644
View file @
8f3f4a1
// 多人呼叫不能选自己和非独立子账户
if isMultCall() {
let member = members?[indexPath.row]
if member?.uuid == AccountManager.default.getUUid() {
let alert = UIAlertController(title: nil, message: "不能邀请自己视频", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "我知道了", style: .default, handler: nil))
topviewController()?.present(alert, animated: true, completion: nil)
removeSelf()
return
} else if !(member?.isAccount ?? false) {
let alert = UIAlertController(title: nil, message: "该成员需要开通独立登录的功能才能一起视频", preferredStyle: .alert)
alert.addAction(UIAlertAction(title: "去开通", style: .default, handler: { (_) in
let aVC = HHAddMemberVC.create()
aVC.addState = .supplyMulty
aVC.model = member
topviewController()?.navigationController?.pushViewController(aVC, animated: true)
}))
alert.addAction(UIAlertAction(title: "取消", style: .default, handler: nil))
topviewController()?.present(alert, animated: true, completion: nil)
removeSelf()
return
}
let callInfo = HHCallerInfo()
callInfo.uuid = member?.uuid
callInfo.photourl = member?.photourl
callInfo.name = member?.name
HHMSDK.default.startTeamCall(.adult, callee: callInfo)
removeSelf()
return
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment