I am using a splitviewcontroller as the rootview of my application. I need to show the login and registration views as a modal view on top of the splitviewcontroller. When i
If I remember correctly, iOS misreports the actual orientation until the first rotation.
Also IIRC, using [[UIApplication sharedApplication] statusBarOrientation] circumvents this problem.
[[UIApplication sharedApplication] statusBarOrientation]