2
我有一個iPhone應用程序在縱向模式下顯示web視圖。在webview中有一個HTML5視頻,我將以橫向模式顯示它。當我顯示HTML5視頻時的橫向方向
所以我在我的ViewControlleDelegate方法(因爲我的應用程序只能在肖像模式):
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation{
return NO;
}
因此,有從WebKit的或我的應用程序的方式在橫向模式下切換,只有當我呈現出HTML5視頻?
謝謝!