标签栏。使用事件在 uiviewcontroller 之间切换
我有标签栏应用程序。有 5 个选项卡栏项目,每个项目有 5 个 uiviewcontroller。 UIViewController 没有 xib 文件。我可以在它们之间切换,但我需要在切换时执行一些操作。这个动作有什么活动吗?
I have tabbar application. There are 5 tabbar items with 5 uiviewcontrollers for each one. UIViewControllers are without xib files. I can switch between them, but i need to do some action on switching. Is there some event for this action?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在所有视图控制器中,当您切换到特定视图控制器时,将调用以下方法。
in all the view controllers, the following method will be called when you switch to that specific view controller.