Is there a way to find the frame of a particular UITabBarItem in a UITabBar?
UITabBarItem
UITabBar
Specifically, I want to create an animation of an image \"falling\
When initializing a tab bar, give it a tag:
let tabItem = UITabBarItem(title: "my title", image: nil, tag: 1000)
Then you can fetch the tab bar using:
let myTabItem = tabBarController?.tabBar.viewWithTag(1000)