self.navigationItem.rightBarButt
2018-09-28 本文已影响8人
lizhi_boy
这里是正确的姿势:
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"LSMain_footLastBg"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] style:UIBarButtonItemStylePlain target:self action:@selector(searchClick)];