ShouldAutorotateToInterfaceOrientation doesn't work?

Make sure all of your parent views have autoresizesSubviews = YES. You may need to do this in code if you haven't set springs and struts in IB for all of your views.

Make sure all of your parent views have autoresizesSubviews = YES. You may need to do this in code if you haven't set springs and struts in IB for all of your views. Quoting the Interface Builder User's Guide: Important: In a Cocoa nib file, if you do not set any springs or struts for your view in Interface Builder but then do use the setAutoresizingMask: method to add autosizing behavior at runtime, your view may still not exhibit the correct autoresizing behavior.

The reason is that Interface Builder disables autosizing of a parent view’s children altogether if those children have no springs and struts set. To enable the autosizing behavior again, you must pass YES to the setAutoresizesSubviews: method of the parent view. Upon doing that, the child views should autosize correctly.

A couple other things to be aware of: A UINavigationController will only autorotate if its root view controller is also set to autorotate. A UITabBarController will only autorotate if all of its view controllers are set to autorotate.

A UITabBarController will only autorotate if all of its view controllers are set to autorotate. " --- gets me every time; this is simply the wrong way for Apple to implement the API. Hopefully they'll fix it one day.

– Adam Sep 17 at 15:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions