How do you handle screen rotation in Unity 3.3?

In Unity 3.3, it seems that iPhoneSettings.screenOrientation has been deprecated. How do we actually handle screen rotation now?

Screen.orientation

Read the accelerometer and rotate when you want to.

can anyone help me ? i want to use this in my game.