loginviewcontroller *loginviewcontroller =[[ loginviewcontroller Alloc]init];
uinavigationcontroller *nav=[[uinavigationcontrolleralloc]initwithrootviewcontroller: Loginviewcontroller];
UIButton *leftbtn = [UIButtonbuttonwithtype: Uibuttontypecustom ];
leftbtn.Frame =CGRectMake(0,0, -,Panax Notoginseng);
leftbtn.Titlelabel.Font=[Uifontsystemfontofsize:25.0];
[LeftbtnSettitle:@"Cancel"forstate:UIControlStateNormal];
[LeftbtnAddTarget: SelfAction:@selector(Dismisscontroller)forcontrolevents:UIControlEventTouchUpInside];
Loginviewcontroller. navigationitem leftbarbuttonitem =[[ uibarbuttonitem Alloc " initwithcustomview :leftbtn];
[ self navigationcontroller presentviewcontroller :nav animated : yes completion : nil
Change the arrow color:
Self . Navigationcontroller . Navigationbar . Tintcolor = [uicolorwhitecolor];
Change the text in the left navigation bar and arrow color after the IOS page jumps