I have a UILabel next to a UIImage where I want the UILabel to be show truncated "..." if it starts to overlap with the neighboring UIImage.
Text is behind the UIImage when i want it to just truncate:
I thought the issue is the content compression but I set the UILabel's content compression resistant priority horizontal to 250 and the UIImage to 1000. This only hides the UILabel behind the UIImage.
*This is inside a table cell. I'm not using the default table cell view because i intend to customize it further.