Autorotation lock, programmatically

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, but I want to support only landscape orientation even all other views can rotate. So I wish to lock rotation when this view is on the top.

tnx

EDIT: More details: one UIController has 7 UIView...and I wish to lock the autorotation just when the last one occurs on the top.

7
задан Vanya 24 May 2011 в 09:31
поделиться