title: orientation auto rotation
body: <p>i have 2 different views for a single nib. when i rotate the screen on iphone "simulator", the view rotates perfectly fine and the output is the desired one. but when i deploy my project on iphone and go through the same process the view doesnot change on changing the phone orientation ?</p>
  
  <p>in view did appear i have used </p>
  
  <p>[[UIDevice currentDevice] beginGeneratingDeviceOrientationNotifications];
  but still no effect.
  i dont know why it is working fine on simulator but not on iphone.
  I will be really pleased if u help me out.</p>