I am facing issue in iOS 11 with custom BackButton Image color.
BackButton Image works correct in versions lower the iOS 11.
I have customized the Back Button Image of UINavigationBar
by using following code.
[[UINavigationBar appearance] setBackgroundColor:[UIColor blackColor]];
[[UINavigationBar appearance] setBarTintColor:[UIColor blackColor]];
[[UINavigationBar appearance] setTintColor:[UIColor whiteColor]];
[[UINavigationBar appearance] setTranslucent:false];
UIEdgeInsets insets = UIEdgeInsetsMake(0, 0, 5.0f, 0);
UIImage *backArrowImage = [[UIImage imageNamed:@"icon_nav_back"] imageWithAlignmentRectInsets:insets];
[[UINavigationBar appearance] setBackIndicatorImage:backArrowImage];
[[UINavigationBar appearance] setBackIndicatorTransitionMaskImage:backArrowImage];
It displays a proper image with default color of image in versions lower than iOS11
But, In Version iOS 11 its color and size have been improper.
Please provide proper solution to resolve this issue.
I have tried Tint Color also, but it doesn't work.