0
UIBarButtonItem *button = [[UIBarButtonItem alloc] initWithCustomView:[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"cancel.png"]]];
button.target = picker.navigationBar.topItem.leftBarButtonItem ;
button.action = picker.navigationBar.topItem.leftBarButtonItem.action;
picker.navigationBar.topItem.leftBarButtonItem=button;
嗨伙计们,我试图改变邮件编辑器的按钮样式。上面的代码确实改变了按钮的外观,但是该动作似乎已经丢失。任何想法如何克服这一点?谢谢。MFMailCompose自定义按钮
谢谢,但我需要在MFMailComposeController访问选择 – 2012-01-03 16:38:07