I saw in the documentation that I can set the tabBarItem property of each view controller that is associated with my tabBarController. I can set the title and I can set the image.
But I don't understand how to set it to a UITabBarSystemItem, which would show something like a search icon (UITabBarSystemItemSearch).
Can I set the image using a system item for some tabBarItems and use my own custom title and image for others?
myViewController.tabBarItem = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:7];