title: Call willAnimateRotationToInterfaceOrientation programmatically in iOS 6
body: <p>In my viewController that has other viewControllers, in iOS 5, it acts all right because it calls <code>willAnimateRotationToInterfaceOrientation</code> method. If I rotate the device, iOS will call <code>willAnimateRotationToInterfaceOrientation</code>, and the app acts right, but when the app first launches, it does not. Then I try to call <code>willAnimateRotationToInterfaceOrientation</code> in viewWillAppear, but it does not help.</p>
  
  <p>How can I call <code>willAnimateRotationToInterfaceOrientation</code> programmatically or something else?</p>