IOS 5 内存警告在 NavigationController 下显示空白 TableView(不适用于 IOS 4.3)

发布于 2024-12-17 20:19:29 字数 628 浏览 3 评论 0原文

我在 iOS5 模拟器(和设备)上遇到一个奇怪的问题,带有导航控制器和内存警告。我有一个 TabbarControl,里面有一个 NavController,然后是一个 TableViewControl。从 tableviewcontrol 中,我呈现一个 ViewControl,然后我有一个按钮显示一个 ActionSheet。当操作表可见并且我尝试在 IOS5 中模拟内存警告时,发生了一些事情。 ViewControl 只是重新加载并正常显示,但如果我关闭 VIewControl 并尝试返回 TableviControl(在 NavController 内),它只会显示一个空白页面(没有导航栏)和 4 个 TabBar 按钮,如果我更改为第二个选项卡栏按钮然后返回到第一个按钮,然后表正常加载。

此问题在 IOS 4.3(模拟器或设备)中不会发生。

我很确定这取决于操作表呈现的视图方式,但我尝试了所有方法来呈现其视图。

这里有一些图片。

表格 action 空白

i'm experiencing a strange issue on iOS5 Simulator (and Device) with a NavController and a Memory Warning. I have a TabbarControl with a NavController inside and then a TableViewControl. From the tableviewcontrol i present a ViewControl and then i have a button that show me an ActionSheet. When the actionsheet is visible and i try to simulate a memory warnig in IOS5 something strage happend. The ViewControl just reload and show normally, but if i close the VIewControl and try to return on the TableviControl (inside a NavController) it just show a blank page (without navBar) and the 4 TabBar buttons , if i change to the second tabbar button and then return to the first button then the Table load normally.

This issue does not happen in IOS 4.3 (simulator or device).

i am pretty sure that depends in the way the actionsheet present is view, but i try all the methods to present its view.

here some images.

table
action
blank

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文