iPhone SDK: Know when tab on Tab Bar is clicked?
Posted
by Nic Hubbard
on Stack Overflow
See other posts from Stack Overflow
or by Nic Hubbard
Published on 2010-05-13T06:56:03Z
Indexed on
2010/05/13
7:04 UTC
Read the original article
Hit count: 276
I have a tab bar which displays different views when clicked. When you click a tab for the first time, it calls the viewDidLoad method. But, it only calls that the first time.
Is there a method that is called when a user clicks back to that tab, since the viewDidLoad won't be called that second time?
(I need to do this to update a UITableView when the user clicks back to a tab)
© Stack Overflow or respective owner