UIButton *leftbutton=[[UIButton alloc]initWithFrame:CGRectMake(0, 7, 30, 30)];
UIView *containView = [[UIView alloc] initWithFrame:leftbutton.bounds];
[containView addSubview:leftbutton];
[leftbutton setImage:[UIImage imageNamed:@"but_Photograph_press"] forState:UIControlStateNormal];
UIBarButtonItem *leftItem=[[UIBarButtonItem alloc]initWithCustomView:containView];
self.navigationItem.leftBarButtonItem=leftItem;
UIView *containView = [[UIView alloc] initWithFrame:leftbutton.bounds];
[containView addSubview:leftbutton];
[leftbutton setImage:[UIImage imageNamed:@"but_Photograph_press"] forState:UIControlStateNormal];
UIBarButtonItem *leftItem=[[UIBarButtonItem alloc]initWithCustomView:containView];
self.navigationItem.leftBarButtonItem=leftItem;