I have a view with a number of buttons. The issue persists regardless whether I have 3, 4 or 5 Buttons. The one most bottom (with the highest y coordinate) does not show its tile. By playing around with the coordinates I found out that the title is sort of cut. See the screenshots for details.
All that I changed between those examples are the y coordinates of the buttons. It always happens to the button most down in the screen.
Additional information: I am using storyboard. The View hierarchy:
- UIView (The default empty UIView that is linked to the view controller's self.view)
--- UIScrollView
------ UIImage (The background image. Deleting it does not change anything)
------ UIButton
------ UIButton
------ UIButton
-------Lots of constraints, automatically generated.
Try changing the title from Plain
to Attributed
for all the UIButtons that are suffering from this problem. Then you can change them back to Plain
and it should solve this (odd) issue.
I did not nail it down to its reason. The way I solved it was deleting those 3 buttons and creating them again in IB (Storyboard).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With