Not sure if this is your issue, but could well be it.
There is a common problem with iOS8 and older xcode projects not changing orientation when run. Only affects iOS8.
This seems to be due to a leftover line of code older xcodes used to generate and the latest xcode does not detect or warn you about.
The offending line will be in your AppDelegate didFinishLaunchingWithOptions
function and looks like the following:
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
Comment this out if it is there and rotation should start working.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…