Reputation: 8068
In the storyboard I have the views set up like this:
Now I have some code which changes the text and image background color etc. but no size changes are in the code.
This is how it turns out on the iPhone:
You see the 'published by' just decides to resize its width for no reason.
I have tried adding all missing constraints,
I have tried adding a constraint for 'same width' for the body view and the 'published by' view.
Nothing.
Can anyone give me an explanation why something like this might happen?
Upvotes: 0
Views: 41
Reputation: 1130
set publication button constraint as per screenshot. I hope it will help you and will solve your problem.
Upvotes: 1