开发者

How do I get toolbars on UISplitView detail & root views?

开发者 https://www.devze.com 2022-12-30 18:44 出处:网络
I\'m porting my iPhone app to iPad.I have a bunch of detail views that derive from UIViewController and implement UITableViewDelegate.(Basically TableViews b开发者_如何转开发ut not derived as such).Th

I'm porting my iPhone app to iPad. I have a bunch of detail views that derive from UIViewController and implement UITableViewDelegate. (Basically TableViews b开发者_如何转开发ut not derived as such). The old app used TabBar, but now I'd like to use SplitView with toolbars on the Detail and Master views. How do I enable a toolbar on my UIViewController inside a UISplitViewController? I'm not using Interface Builder here, just code.

@interface  HeadlineViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {

UITableView *tableView;
NSMutableArray *bullIds;

UIActivityIndicatorView *prog;
}

Thanks,

0

精彩评论

暂无评论...
验证码 换一张
取 消