screen-rotation

Rotating only affect one time in iPad in swift 3

I have 2 view controllers. First view controller has many videos and when user clicks on the Video, then it will goes to second view controller. When user reaches to second view controller, then the screen will rotate automatically to the landscape mode. But, user rotates the device and the video...

horizontal uiview's controls unresponsive.. or how to foul up a view hierarchy

I'm working on an app that has two sections, a config section and a results section. My config section needs to be 2 separate views (horizontal and vert, and yes, I can hear the intake of breath from here), with one rotatable view for the results. b/c of layout restraints and a lot of pain around...

Android Screen Orientation Change Causes App To Quit

I have an app that I set to only display in Portrait mode by setting android:screenOrientation="portrait" for each Activity in the manifest. This works fine and my app screen does not rotate when I rotate the phone. The problem is, if I start the app with the phone in Portrait orientation, then as...

Can't restore scroll position after rotation (RecyclerView)

Can't restore the scroll posiotn of RecyclerView after rotation and after I close the app and open it again. In the first case I could use android:configChanges in Manifest, but it doesn't help after I reopen the app. Here is my code. After trying restore the state I see an empty screen without my...