-(void)creatNaviUI{
self.navigationItem.title =@"余額";
//修改導(dǎo)航欄標題字體大小和顏色
[self.navigationController.navigationBar setTitleTextAttributes:
@{NSFontAttributeName:[UIFont systemFontOfSize:20],
NSForegroundColorAttributeName:[UIColor blackColor]}];
self.navigationItem.rightBarButtonItem =[[UIBarButtonItem alloc]initWithTitle:@"提現(xiàn)規(guī)則" style:UIBarButtonItemStyleDone target:self action:@selector(rightBtn:)];
//左側(cè)修改系統(tǒng)按鈕的左右坐標
UIButton *btnTitle =[[UIButton alloc]initWithFrame:CGRectMake(-30, 10, 120, 30)];
[btnTitle addTarget:self action:@selector(leftBtn:) forControlEvents:UIControlEventTouchUpInside];
[btnTitle setTitle:@"我的錢包" forState:UIControlStateNormal];
[btnTitle setImage:[UIImage imageNamed:@"back_bt_7"] forState:UIControlStateNormal];
[btnTitle setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
UIBarButtonItem *btnBack3 =[[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:self action:@selector(leftBtn:)];
btnBack3.width =-20;
self.navigationItem.leftBarButtonItems =@[btnBack3,[[UIBarButtonItem alloc]initWithCustomView:btnTitle]];
}
-(void)leftBtn:(UIButton *)btn{
NSLog(@"返回惧磺。倒庵。");
[self.navigationController popViewControllerAnimated:YES];
}