0

I have an issue with the navigation bar. I have screen with NavBar and opened half transparent view on full screen (it covers NavBar). Then, if I change device orientation by 180 degree (my app only, for landscape), then NavBar appears on top while animation. NavBar goes back under transparent view after animation completes. Does somebody face the same issue?

4

1 回答 1

0

您如何呈现透明视图?如果您以模态方式呈现它或使用 UIPopover,则这两者都将在旋转期间从窗口中删除,然后再添加回来。

您是否尝试过将视图添加为窗口的子视图,在导航栏上方,像这样?

    [self.view.window insertSubview:your_view aboveSubview:self.navigationController.view];
于 2012-09-05T11:12:52.033 回答