Orientation problems with iPad and GameCenter dialog

I am using Prime31’s GameCenter plugin, which is awesome. Unfortunately, when I call up the gamecenter achievement window, it appears upside down! It appears the screen orientation of Unity is getting set opposite to the actual device.

Anyone have a clue how to fix this?

Solved with help from Prime31. Seems setting the device orientation via code is no longer necessary. The player settings menu has an option for autorotate.