Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 1.26 KB

README.md

File metadata and controls

16 lines (10 loc) · 1.26 KB

Demonstration of bridging to Java from Objective-C to respect device orientation lock setting via Apportable Android

Details

Use when adapting Objective-C applications for execution on Android especially when original Objective-C application supports arbitrary orientation.

Fetches "is screen rotation locked" value from android.provider.Settings.System. For demonstration purposes, every 5 or so turns it will honor the rotation setting, then for another 5 it won't.

Requirements