GitHub repository: moerweng/SwiftEntryKit
Description: 原版本在iOS16上横竖屏转屏出错,在此修改