Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
This commit is contained in:
Marcel Müller 2023-03-03 17:42:33 +01:00
Родитель 803b10a4e1
Коммит ec8cf19d62
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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