UILabel text gets truncated if I add some helper type

I have a cell with two of UILabel

. Looks like that:

enter image description here

And when I run the simulator, it looks good:

enter image description here

but if I add a disclosure indicator and then update the constraints to not overlay it so that my simulator looks like this:

enter image description here

And my storyboard settings:

enter image description here

if i change "Line Breaks" in IB to something else. This does not solve the problem.

How can I avoid this behavior and see the expansion indicator and multiline UILabel

at the same time?

It looks like the main problem with this problem is the accessory, because with the same restrictions, but without accessories, it is displayed correctly, but with the accessory it is not.

What can I do to display it correctly?

+3


source to share





All Articles