ios - Navigation back color -


i have implemented navigation controller between vc1 vc2. , have changed navigation button tittle own custom tittle using

 self.navigationitem.backbarbuttonitem = [[uibarbuttonitem alloc] initwithtitle:@"" style:uibarbuttonitemstyleplain target:nil action:nil]; 

now want change tint colour of arrow. when try doing,its not working why..?

i have tried these samples

[[uibarbuttonitem appearance] settintcolor:[uicolor whitecolor]];   self.navigationcontroller.navigationbar.tintcolor = [uicolor whitecolor]; 

the navigation bar in child view controller has got button appears , take root viewcontroller. can access navigationbar corresponding navigationcontroller , set tint colour follows,

note: try adding code in viewwillappear method.

[self.navigationcontroller.navigationbar settintcolor:[uicolor redcolor]]; 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -