kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, SwiftUI, support subtitles.
https://apps.apple.com/app/tracyplayer/id6450770064
GNU General Public License v3.0
984 stars 197 forks source link

Rotation causes UI misalignment #651

Closed m3u8playlist closed 3 months ago

m3u8playlist commented 10 months ago

Untitled-1

A is player view ,B is customer view If the player is rotated 90 degrees and then rotated back, the B-area UI will disappear.

kingslay commented 10 months ago

你是使用IOSVideoPlayerView吗?目前主要是维护swiftUI版本。UIKit版本很少维护了。转屏的代码在 open func updateUI(isFullScreen: Bool) { 你可以改下这个代码。让它符合你的预期。

kingslay commented 3 months ago

已经修复好了