When building a custom iOS module and using UIActivity (modal window), the UIActivityController keeps rotating, even the app orientation is locked to a particular orientation, e.g Portrait.
Attached is a sample project containing the module which runs the module's example app.js
The module source can be found here: https://github.com/viezel/TiSocial.Framework
1. Run the example app
2. If you rotate the screen it should remain in portrait
3. click on the button "Activity View"
4. Try to rotate the screen. Despite the locked portrait orientation the modal window causes the screen to rotate.