mumble-voip / mumble-iphoneos

Mumble client for iOS-based devices
https://www.mumble.info
Other
193 stars 79 forks source link

iPad optimizations [draft] #135

Open saerdnaer opened 3 years ago

saerdnaer commented 3 years ago

These are a few minimal changes to get a somewhat working UI when using mumble on an iOS tablet. Basically this allows to rotate the screen and, split view etc.

The source code itself already included some specific iPad switches, which were not used as the info.plist file had only a UIInterfaceOrientationPortrait entry in the UISupportedInterfaceOrientations array.

A proper solution would be probably a proper SplitViewController etc. – but this was the first time after 5 years that I last looked at ObjectiveC source... :-)

Demo:

https://user-images.githubusercontent.com/40266/105707298-00f4e980-5f13-11eb-8bbd-16e11d4fbdd8.mp4

If you want to test this on your own device, and have no Apple Developer Account: