我有个问题。我想在appdelegate类中添加一个tabbarcontroller到我的基于视图的项目中我添加了一个tabbarcontroller,这是代码appdeegate.h
...........
UITabBarcontroller * tab;
@property (retain,nonatomic) IBOutlet UITabBarcontroller * tab;
appdelegate.m
...........
@synthesize tab;
[window addSubview:tabBarController.view];发布于 2011-04-29 18:37:13
您检查过IB中的连接了吗?
https://stackoverflow.com/questions/5830921
复制相似问题