Asked
Active
Viewed 153 times
-5

Pranay Kumar
- 1
- 2
-
Please take care to describe your problem in text, not with images hosted on other websites. – regetskcob May 11 '16 at 08:29
-
Hi Daniel, i want display text in label with different text sizes and different positions. – Pranay Kumar May 11 '16 at 09:20
1 Answers
1
Probably the easiest way would be creating a view (or Xib if you are reusing it), with multiple labels in it. One for each segment of the text:
- $ sign
- integer part
- decimal part
- "per year" part
Another way would also be using the Attributed String
, like in this example, where the inquirer had a similar problem.

Community
- 1
- 1

Dejan Skledar
- 11,280
- 7
- 44
- 70