self.title=@"糗事百科";
UIBarButtonItem *item=[[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStyleDone target:self action:nil];
self.navigationItem.leftBarButtonItem=item;
UIBarButtonItem *right=[UIBarButtonItem itemWithImageName:@"top_title_button_transpond-normal" highImageName:@"top_title_button_transpond_press" target:self action:@selector(leftbuttonClick:)];
//
// UIBarButtonItem *left=[UIBarButtonItem itemWithImageName:@"top_title_button_return_normal" highImageName:@"top_title_button_return_press" target:self action:@selector(leftbuttonClick:)];
//
//
// self.navigationItem.leftBarButtonItem=left;
self.navigationItem.rightBarButtonItem=right;
//
//
// UIImageView *center=[[UIImageView alloc] init];
// //
//
// UIImage *image=[UIImage imageNamed:@"top_title_button_transpond-normal"];
// center.image=image;
//
// center.frame=CGRectMake(0, 0, image.size.width, image.size.height);
//
// self.navigationItem.titleView=center;
//
//
// [self.navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"bar_background"] forBarMetrics:UIBarMetricsDefault];