I have a tabBarController
which holds three viewcontrollers,and I want to add another UITabbarItem
to the tabBarController
which calls an alertView
to display. The tabBarController
is on storyboard.
Asked
Active
Viewed 89 times
0
2 Answers
1
No. You can only add view controllers to a tab bar.
You could add a blank view controller that on viewWillAppear:
would display the alert and then set the active tab to one of the others. I wouldn't recommend it. It's ugly and a very bad user experience.

Hima
- 1,249
- 1
- 14
- 18

Sam Corder
- 5,374
- 3
- 25
- 30