Does anybody know if there is a possibility to lock autorotation of iPhone programmatically for just one view? I want to make some kind of help with semi-transculent view, b
You can attach it to the window. After the view is loaded, do
[self.view.window addSubview:yourStaticView]; [self.view.window bringSubviewToFront:yourStaticView]; // Do only if necessary
Remove it when leaving this view. Probably in viewWillDisappear: or viewDidDisappear:.
viewWillDisappear:
viewDidDisappear: