flowkey / UIKit-cross-platform

Cross-platform Swift implementation of UIKit, mostly for Android
MIT License
597 stars 40 forks source link

enable rendering in portrait #244

Closed michaelknoch closed 6 years ago

michaelknoch commented 6 years ago

Type of change:

Motivation

It should be possible to render in portrait.

This approach works for orientations set from manifest.xml android:screenOrientation="portrait" and from code currentActivity.requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE

Please check if the PR fulfills these requirements