Hello,
I'm fairly new to iOS programming (completed the "Programming in Objective-C" by Stephen Kochan, and now I'm moving on to "Beginning iOS 7").
I completed the "Moving the Views on Rotation" exercise from Chapter 5 but when I actually launch the finished product in the simulator, I see some not so pretty results.
When I launch initially in portrait view, the content is exactly the way it should be. However if I rotate the view into landscape, or if I rotate the view back to portrait, the content does not align with what is expected and is all over the place. Also, the notification bar along the top is not stretched across the entire screen and the background becomes black in a large portion of the main view.
I'm attaching three images to demonstrate what I'm seeing and I wanted to find out if anyone else is observing this as well. I can say that I've checked all my code against the book and I'm fairly confident that it is all correct as described.
I don't mind trying to find out how to fix the issue myself since I know that is the best way to learn, but I wanted to make sure in case the content in the book is not quite right for this particular exercise.
Portrait - First Launch:
Landscape - Rotate Left:
Portrait - Rotate back to portrait:
Thanks in advance and I love the book!
Comments