开发者

which UITabBarController event to reload a view?

开发者 https://www.devze.com 2023-01-15 05:13 出处:网络
I\'ve got a window with a UITabBarcontroller at the bottom.I have 3 tabs开发者_如何学C, corresponding to their respective views.

I've got a window with a UITabBarcontroller at the bottom. I have 3 tabs开发者_如何学C, corresponding to their respective views.

Everytime I switch to a view via tapping on the tab, i want it to reload. Which event do I need to tap into? Where would I do this?

thanks!


How about viewWillAppear: or viewDidAppear: ?

0

精彩评论

暂无评论...
验证码 换一张
取 消