You may achieve this using NSAttributedString
class. Check this link for examples.
Getting view with liquid buttons
Question
- Consider that we have a formula:
buttona texta buttonb textb buttonc textc buttond text
. Fixed number of buttons (each of which has different length of course) and possibly dynamic number of text labels. - What is the most easiest way to get a
UIView
with liquid buttons as well as text labels based on that? Please, see an example. - Of course we can find a correlation with
html
displaying. Perhaps we have existing components to do that?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow