monkeyswarm / MobMuPlat

MobMuPlat is an iOS & Android app to host PureData patches with custom visual interfaces and hardware access.
www.mobmuplat.com
Other
182 stars 25 forks source link

auto rotate screen on iPad #55

Open giulianobici opened 5 years ago

giulianobici commented 5 years ago

Hi I am trying to able auto rotate screen on iPad to project it with an adapter (Lighting VGA) in a full screen via VGA projector. It doesn't work properly. The iPad project well full screen. But when I open MobMuPlat the format change and project only half size vertically. Has someone any idea to able the auto rotate screen using MobMuPlat on iPad? I tried all screen size formats with all orientation available at editor. Unfortunately it doesn't project fill the full screen.

monkeyswarm commented 5 years ago

Clarification upon further discussion with poster: mobile device shows an interface in landscape, but because the MobMuPlat app is always technically in portrait mode (and merely renders things in landscape/portrait), it is not rotated on an external display to be landscape.

application:supportedInterfaceOrientationsForWindow: probably won't help, since the landscape patch is rendered at a 90 rotation. Fixing this requires a large-scale refactor of rotation and rendering.