I am experiencing a weird glitch where a normal titleview on a viewcontroller suddenly aligns left when popViewControllerAnimated: is called. Does anyone seem to be experiencing a similar issue?
I tried to pinpoint the issue and it occurs when I have this set:
[[UIBarButtonItem appearance] setBackgroundVerticalPositionAdjustment:1.0f forBarMetrics:UIBarMetricsDefault];
After removing this line, the titleview doesn't glitch or align left when popping the view controller. I would also like to note that I have a custom background image for the barbuttonitem. This is the first time I've ever experienced such an issue, hope it helps someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With