I ran into the same problem. Then I tried one code shown below.
override func viewDidAppear(animated: Bool) { let imageView = UIImageView(frame: CGRect(x: 0, y: 0, width: 150, height: 40)) imageView.contentMode = .ScaleAspectFit let image = UIImage(named: "googlePlus") imageView.image = image navigationItem.titleView = imageView }
This code works fine when I tested the Left and Right buttons.
But in my previous code the right panel is missing.
So, the image moves to the right.
To solve this, I created a button on the right panel and changed the hue color to clear the color.
So everything is working fine. This is one workaround for your problem.
source share