forked from mirrors/linphone-iphone
Voipdialog anchor on iPads
This commit is contained in:
parent
7126085638
commit
fc47f41aa2
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class VoipDialog : UIView{
|
|||
}
|
||||
let rooVc = rootVC()
|
||||
let alert = UIAlertController(title: nil, message: message, preferredStyle: .actionSheet)
|
||||
alert.popoverPresentationController?.sourceView = PhoneMainView.instance().mainViewController.tabBarView
|
||||
alert.popoverPresentationController?.sourceView = PhoneMainView.instance().mainViewController.statusBarView
|
||||
rooVc?.present(alert, animated: true)
|
||||
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + timeout) {
|
||||
alert.dismiss(animated: true)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue