Just add ivar to the application delegate, which can be installed by pressing the lock button. Then, in all controllers of your kind, you can simply check ivar in the application deletion and answer
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
according to your ivar orientation
source
share