2011-01-14 4 views
0

私はビューとしてUIScrollViewを持つ1つのUIViewControllerを持っています。 このスクロールビューの各ページについて、私は1つのUIViewControllerを割り当て、このScrollview内に彼のビューを追加します。 (scrollview内部の自分の意見を持っているものがあること)発生しませんUIScrollview内のUIViewcontrollerビューの回転イベントを発生させる方法

私は、デバイスを回転させるつもりです、サブviewcontrollersで回転イベント...

は、誰も私を助けることができますか?感謝:)

セルジオ

答えて

1
メインのViewController方法で

-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation

コール

[yourSubViewController shouldAutorotateToInterfaceOrientation:interfaceOrientation]; 
関連する問題