Question

like this one here:

image

Is there an existing class that I can use?

Was it helpful?

Solution

You can use some of the string drawing methods to find out how large a frame you need for each tag, and then size a bunch of UILabels to fit each word.

As you'll likely want your user to interact with the tags, subclass UILabel to handle touches where appropriate.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top