iPhone - 以编程方式创建UITabBar?
答
UITabBar *aTabBar = [[UITabBar alloc] initWithFrame:aFrame];
你可能需要参考the class documentation实例方法一样-setItems:animated:
。另请参阅UITabBarDelegate
协议。