Cannot navigate back after calling setBackButtonBackgroundImage:

Hey,

I am using appium 1.3.7. I am testing an iOS app on iOS 8.3 Simulator.
I have a navigation controller with multiple view controllers in its stack.
If I call

[[UIBarButtonItem appearance] setBackButtonBackgroundImage:headerIconBack forState:UIControlStateHighlighted barMetrics:UIBarMetricsDefault];

then the back() method of Web Driver is not able to navigate back to previous view.

Looks like UIAutomation is not able to find a proper “Back” button in the nav bar.

Can you check it out guys?

Thanks,
Osman