Go to your plist file and look for Supported interface orientations (iPhone)
you will see some thing like the below attached image.
Make sure the sequence of the orientation levels is as shown in the above screen shot.
It worked for me. give it a try.