0

I'm not using storyboards and need to know how to resize and reposition the left bar button. The image I'm using is too big and not far enough to the left.

let leftBarItem = UIBarButtonItem(image: (image), landscapeImagePhone: (image), style: .plain, target: self, action: nil)

    self.navigationItem.leftBarButtonItem = leftBarItem

This code makes this -

enter image description here

But I need it to look like this -

enter image description here

I would rather not go back and resize the actual image in Photoshop. What are my options? Thank you!

4

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.