mono/MonoGame — pull request #813 by Nezz (2012-09-25 21:55:41+00:00)
Title: Add iOS6 compatibility

iOS 6 introduced a change to the way rotation is handled. This means, that we need to implement some new functions:
```GetSupportedInterfaceOrientations
ShouldAutorotate
PreferredInterfaceOrientationForPresentation```

these will be used instead of the function
```ShouldAutorotateToInterfaceOrientation```
on iOS 6.

There is also a change in the use of the info.plist's orientation settings: They always should be all but portrait upside down for iPhone, and all for iPad. If you don't match these settings and try to use gamecenter for example, your app will crash. This means that we need to depend on the XNA variable for supported resolutions, and drop the support for parsing the orientations from the Info.plist.
This change also introduced a bug-like behaviour: Applications start with portrait resolutions, no matter what is set in the Info.plist, then it changes those back to normal accidentally. Some cocos developers referenced this as swapped width/height. Apple did not seem to care about this issue, so we need to adapt. This led to a number of cases where we end up working with the wrong resolutions.

I would also like to note that iOS6 seemed to increase the trampoline type 2 usage, which resulted in our game crashing with default trampoline count.