How do I get toolbars on UISplitView detail & root views?
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,
精彩评论