如何创建一个没有任何边框的UIBarButtonItem,只是里面有一个标签?
修改
我试过这样的事情没有运气:
UIBarButtonItem* langButton = [[UIBarButtonItem alloc] initWithTitle:@"EN"
style:UIBarButtonItemStylePlain target:self action:@selector(changeLang)];
self.navigationItem.leftBarButtonItem = langButton;
[langButton release];