UIButton *backButton = [[UIButton alloc]initWithFrame:CGRectMake(0, 0, 45, 45)];
backButton.titleLabel.font = [UIFont systemFontOfSize:15];
[backButton addTarget:self action:@selector(buttonHightLight:) forControlEvents:UIControlEventTouchDown];
[backButton addTarget:self action:@selector(buttonNormal:) forControlEvents:UIControlEventTouchUpInside];
UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, 20, 20)];
imageView.image = [UIImage imageNamed:@"7个股行情_03"];
[backButton addSubview:imageView];
[backButton addTarget:self action:@selector(clickbackItem:) forControlEvents:UIControlEventTouchUpInside];
UIBarButtonItem *backItem = [[UIBarButtonItem alloc]initWithCustomView:backButton];
if([[[UIDevice currentDevice] systemVersion] floatValue]>=7.0){
UIBarButtonItem *negativeSpacer = [[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace
target:nil action:nil];
negativeSpacer.width = -16;
self.navigationItem.leftBarButtonItems = @[negativeSpacer, backItem];
}else{
self.navigationItem.leftBarButtonItem = backItem;
}