• After more than 15 years covering everything Apple, it’s with a heavy heart we announce that we will no longer be publishing new content on iMore and the iMore forums will be closing as of November 1st, 2024.

iMore

I have a Tab Bar Controller app with five tab bar items and it works fine displaying the corresponding view for each tab. I have used the Interface Builder to develop the UI thus far.

I want to detect (when a given view is being displayed) that the same tab bar
button is pressed. Is there an event that I can use to be notified of this -- all
I want to do is to set flag indicating that the button was pressed while the view is already active.