fix: rotate media preview raise layout issue

This commit is contained in:
CMK 2021-09-29 19:34:54 +08:00
parent 0d7d659e01
commit 95020e6446
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ extension MediaPreviewViewController {
overrideUserInterfaceStyle = .dark
visualEffectView.frame = view.bounds
visualEffectView.autoresizingMask = [.flexibleWidth, .flexibleHeight]
view.addSubview(visualEffectView)
pagingViewController.view.translatesAutoresizingMaskIntoConstraints = false