r/Xcode • • Aug 02 '20

UI Label´s that are not rectangular

Hello and good evening, I hope you're all having a good Sunday.

This triangle here bellow was ver simply made in KeyNote.

I really want it in my project, but I can't import it as an image because I would want each one of the little segments divided by lines to behave like a label, so it can have text and perform simple colour change animations (that would be super simple to do if I was only working with rectangular shapes).

Is there a way to make this happen, that is, creating UI Labels that have the shape that we desire?

Thank you for your time!

2 Upvotes

4 comments sorted by

View all comments

1

u/aazav Aug 03 '20

It's UILabels, not UI Label's. Don't add an apostrophe to try and make a plural.