mono/MonoGame — pull request #873 by Nezz (2012-10-16 22:58:13+00:00)
Title: Make iOS6 portrait applications work properly

Allow dispose to unload the ContentManager (discussed in #859, but not fixing the actual issue)

The iOS6 issue was that the mask was only retrieved once, when the application started. That happened because the autorotation was always enabled. That retrieving happened happened before the Game constructor was called, therefore the mask way always "Default" (Landscape left + right). This resulted in potrait apps crashing (no common orientation).
By only enabing the autorotation when the game is initialized, we have the time to set up the supported orientations. When the autorotation gets enabled (after initialize) we will have the correct mask and the application will work as intended.