0

画面を回転させると、いくつかのアクションを実行したい。私は現在この方法を使用していますが、機能していません。

- (void)deviceOrientationDidChange:(NSNotification *)notification {
    NSLog(@"rotated!");
}

何か案は?ありがとう。

4

1 に答える 1

0

次で解決: (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation

于 2013-05-24T20:22:12.473 に答える