No need to dismiss during size class change
This commit is contained in:
parent
2736468072
commit
32e4a6fa24
|
|
@ -73,7 +73,6 @@ extension PanModalPresentationDelegate: UIAdaptivePresentationControllerDelegate
|
|||
Dismisses the presented view controller
|
||||
*/
|
||||
public func adaptivePresentationStyle(for controller: UIPresentationController, traitCollection: UITraitCollection) -> UIModalPresentationStyle {
|
||||
controller.presentedViewController.dismiss(animated: false, completion: nil)
|
||||
return .none
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue