How does one do this?
Note that I do not want a controller. Just a tab bar.
UITabBar *aTabBar = [[UITabBar alloc] initWithFrame:aFrame];
You’ll probably need to refer to the class documentation for instance methods like -setItems:animated:
. Also, see the UITabBarDelegate
protocol.
来源:https://stackoverflow.com/questions/3221133/iphone-create-uitabbar-programmatically