How to make UILabel fade out instead of showing the three dots ellipsis on iOS?

Viewed 1124

If the contents of a UILabel don't fit into the available space, iOS shows automatically the three dots. I think it looks much nicer if instead of the dots a gradient is applied which fades out the content the close it gets to the right edge. Is the something built in in iOS or do I have to implement it all myself?

2 Answers
Related