Method is that navigationItem.titleView uses UIView,
and this UIView add custom title.
example:
var containerView = UIView()
containerView.frame = CGRectMake(30, 30, 400, 50)
var titleview = UIImageView(image: UIImage(named: "titleImage"))
//titleview.backgroundColor = UIColor.redColor()
titleview.alpha = 0.6
titleview.frame = CGRectMake(10, -10, 300, 30)
//titleview.contentMode = .ScaleAspectFit
containerView.addSubview(titleview)
navigationItem.titleView = containerView