How do I add a black outline to my white UILabel text?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One option is to set the shadow, which might not be exactly what you want, but achieves a similar effect. You can manually adjust the offset:
Please note that you can also define this in Interface Builder for your
UILabel.shadow http://i.minus.com/jbiG0jVdOxJbgh.png
If this is not enough for you check out this blog post which deals with subclassing
UILabelto get a glow effect:(source: redrobotstudios.com)