1
是否可以平衡按钮的位置(Safari中的示例工具栏)?如何在工具栏中平衡UIBarButtonItem的位置
UIBarButtonItem *infoButton = [[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemCompose
target:self action:@selector(support:)];
UIBarButtonItem *next = [[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemPlay
target:self action:@selector(support:)];
[self.navigationController.toolbar setItems:[NSArray arrayWithObjects:infoButton, next,nil] animated:YES];
谢谢Shaggy Frog让我试试 – RAGOpoR 2010-03-12 07:08:11
我可以问更多问题吗? 是否可以禁用self.navigationController.toolbar项目 谢谢 – RAGOpoR 2010-03-12 10:05:01
您应该问一个单独的问题,并尽量使问题尽可能完整。 – 2010-03-12 18:23:43