Setting attributed label as navigation title
问题 I am working on IOS using swift 4. I have to make the Navigation controller, with the center Aligned App title with Image at its left. But I am not getting how to attach image to its left. The attributed Image always goes to its right. For this I am appending the string twice. below is the code //Get image and set it's size let image = UIImage(named: "user2") let newSize = CGSize(width: 30, height: 30) //Resize image UIGraphicsBeginImageContextWithOptions(newSize, false, 0.0) image?.draw(in: