Ios7 iOS 7中的UIBarButtonItem未正确显示
我有这样的图像: 我将其用作leftBarButtonItem,在iOS 6中显示正确,但在iOS 7中显示如下: 下面是添加按钮的代码,我正在viewDidLoad中执行此操作Ios7 iOS 7中的UIBarButtonItem未正确显示,ios7,uibarbuttonitem,Ios7,Uibarbuttonitem,我有这样的图像: 我将其用作leftBarButtonItem,在iOS 6中显示正确,但在iOS 7中显示如下: 下面是添加按钮的代码,我正在viewDidLoad中执行此操作 UIBarButtonItem * btn = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Home.png"] style:UIBarButtonItemStylePlain target:self action:@selector(b
UIBarButtonItem * btn = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Home.png"] style:UIBarButtonItemStylePlain target:self action:@selector(btHomeTouched:)];
self.navigationItem.leftBarButtonItem = btn;
我基本上是想让我的UITableViewController看起来像在iOS 6中一样。可能是重复的是,重复的解决方案有效!!