зеркало из https://github.com/nextcloud/talk-ios.git
Use viewWillTransitionToSize
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
Родитель
803b10a4e1
Коммит
ec8cf19d62
|
@ -119,8 +119,8 @@ import MobileVLCKit
|
|||
self.delegate?.vlckitVideoViewControllerDismissed(self)
|
||||
}
|
||||
|
||||
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
|
||||
super.traitCollectionDidChange(previousTraitCollection)
|
||||
override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
|
||||
super.viewWillTransition(to: size, with: coordinator)
|
||||
|
||||
// Since there's no way to redraw the current frame in VLCKit, we hide the view
|
||||
// if the playback was stopped to not have a disorted view
|
||||
|
|
Загрузка…
Ссылка в новой задаче