如何刷新笔尖?
我需要初始化使用选项卡栏的应用程序。 我在选项卡之间切换来初始化选项卡视图没有问题。问题是当我按下主页按钮并第二天再次启动我的应用程序时,我想立即进行初始化。
如果有办法吗?
I need to init my app which is using tab bars.
I have no problem switch between the tab to initialize tab view. The problem is when I press the home button and start my app again the next day, I want to nib to initialize straight away.
If there a way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,您可能可以从应用程序委托中刷新它们...如果您在应用程序委托中引用了
UITabBarController
,您可以执行以下操作:Well, you could probably from the app delegate refresh them... If you have a reference to your
UITabBarController
in your app delegate you can do something like this: