utmapp / UTM

Virtual machines for iOS and macOS
https://getutm.app
Apache License 2.0
26.98k stars 1.35k forks source link

Cannot use Split View or Slide Over with the app installed from AltStore #369

Closed kkebo closed 4 years ago

kkebo commented 4 years ago

Describe the bug UTM 1.0-rc5 supports Split View, but I can't use Split View when I installed from the AltStore.

IMB_RN8rA3 IMB_OiLRBz

To Reproduce Steps to reproduce the behavior:

  1. Install UTM 1.0-rc5 from the AltStore, or update it from the previous version
  2. Launch UTM
  3. Try to use Split View to show UTM and another app side by side
    • expected behaviors
      • I can use Split View
    • actual behaviors
      • I can't use Split View

However, when I built from source, I can use Split View. So, the binary distributed via the AltStore may be something wrong.

My Environment

osy commented 4 years ago

It appears to be a bug with AltStore. I dumped the app installed by AltStore and found that the Info.plist is missing the key UISupportedInterfaceOrientations~ipad even though the key exists in the unsigned IPA. iOS will automatically disable split view if it does not detect UISupportedInterfaceOrientations or UISupportedInterfaceOrientations~ipad supporting all 4 orientations. On iPhone we disable the upside-down orientation because of the notch.

osy commented 4 years ago

Fixed in AltStore