I am creating a custom view in Interface Builder. The view has a UITabBar
at the bottom. I want to set the icon of each "button" to one of the system provided icons that are in Apple's UITabBarItem Class Reference.
I tried to do this by typing in 'UITabBarSystemItemRecents' in the 'Image' field found at Inspector -> Attributes inspector -> Bar Item -> Image. Before this, I first selected the UITabBar
and then the UITabBarItem
I wanted the image for.
This did not work however, I just get a square instead. I did some searching and found that you can set the icon programmatically, but I want to do as much as possible of the view in Interface Builder.
I use Xcode 5.0.2 and develop for iOS 7.