Reputation: 158
This is what the storyboard looks like in Xcode
This is what it looks like in the simulator
Does anyone have any idea why this may be happening?
Upvotes: 0
Views: 84
Reputation: 158
I deleted the buttons and re-added them, and now it's working well. Thanks for the insights.
Upvotes: 0
Reputation: 1415
Check that the autolayout constraints for each button are setup properly. i.e. your top left button should probably have a constraint for its width and height and should pin its leading and top space to its superview.
Upvotes: 1
Reputation: 19
Try resizing your images to the frame size of your UIButton and generate an @2x copy for your retina display. You can also try setting the mode to aspect fit in the attribute inspector.
Upvotes: 0