0
當我嘗試呈現一個模式視圖控制器時,它的功能與它應有的一樣,但它以錯誤的方向顯示,並且只沿着屏幕的中間位置(只顯示其上半部分) 。該代碼似乎很簡單 -Modal View在屏幕外顯示一半
-(void)showAboutView {
AboutViewController *aboutViewController = [[AboutViewController alloc] init];
if (aboutViewController != NULL) {
[self presentModalViewController:aboutViewController animated:YES];
}
}
所有shouldAutorotateToInterfaceOrientation設置爲「landscapeRight」
我意識到我可能做一些非常愚蠢的,但我無法弄清楚它是什麼?任何幫助感激地收到!
我知道這不是一個答案,但你不釋放你的視圖控制器 - 你有一個內存泄漏在那裏;) – deanWombourne 2011-02-07 14:14:53
謝謝 - 我沒有粘貼整個方法在這裏,不認爲它會是有用... – SomaMan 2011-02-07 14:31:38