appcelerator/titanium_mobile — pull request #3183 by srahim (2012-10-11 22:31:25+00:00)
Title: [TIMOB-10486]iOS: Popover orientation changes when camera is opened from a window which has fixed orientation

__Testing Instructions__

* Copy the [code](http://jira.appcelerator.org/secure/attachment/30571/app.js) into app.js
* Run on iPad device running 5.1
* Open the app in landscape.
* Click on show Camera.
* Rotate the device to portrait.
* Rotate the device to upsidedown portrait.( __this step is important, make sure you do it fast__)
* Click on cancel button while in the same orientation.
* Click on show popover.
* Check if the popover is displayed in the correct orientation