Xcode is not allowing me to put constraints on my BarButtonItem
on a ViewController in the MainStoryBoard. It's appearing too far to the left where it's unreadable as shown in the image.
The image below shows where the BarButtonItem
is. It's supposed to say "Item". I also looked on the preview split screen on Xcode and it looked fine for the iPhone6 but not for the iPhone 4 (it's half cut on the iPhone 4 but here its 3/4s cut). Here I'm running for the iPhone 6 and i get that.
How do I add constraints in Xcode or how do I add the constraints programmatically to this BarButtonItem?
Any help is much appreciated.