techteej
Aug 25, 2014 - 03:49
Is there any way to force the view to launch in landscape on iPad using the UI module like in scene?
Is there any way to force the view to launch in landscape on iPad using the UI module like in scene?
#force portrait for iPhone
self.screensize = ui.get_screen_size()
if self.screensize[0] < 768:
display = 'portrait'
else:
display = ' '
view.present(orientations=[display])
I believe this is correct.
Thanks!