Sunday, 15 January 2012

ios - Improve UILabel text visibility in Swift -


I am displaying text on UIImage in UITableViewCell, but the UILBL text is sluggish. How to improve the label text glow? I've added a label to the image I'm using the image in the shade to make the text more visible, but the text in the iPhone 6 simulator is sluggish. How to manage it? And any other way to get it

And what kind of "correction" / P>

But the 2 most important things are probably fonts and colors.

If you want to change the text, then color

  myUILabel.textcolor = UIColor (red: 16 / 255.0, green: 177 / 255.0, blue: 216 / 255.0, Alpha: 1)  

Use something like this to change the font and fontsize:

  myUILabel.font = UIFont (name: "BPRplay", size: 20)  

In addition, it is always better to test on the actual device. You feel better about how you feel on the phone.


No comments:

Post a Comment