iOS 7 Custom UINavigationBar TitleView moves when Pushing or Popping new View Controller
It's reproducible for me only if I place setting titleView code in viewWillAppear. Moving it to viewDidLoad fixes the issue
I would embed the label inside a UIView
. Interface Builder doesn't like putting directly a UILabel
in the titleView
for some reason that may be related to your problem.
Also try to set the autoResizingMask
to UIViewAutoresizingFlexibleTopMargin
. In my experience any custom view in bars behaves better this way.