I need to display some simple formatted text inside a small section of a View. The background needs to be transparent because there’s a background gradient image.
How I should I go about this? Maybe the Web View control will do the trick?
thanks
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.
A
UIWebViewwith a transparent background should do the trick, indeed. You could use something like:Be careful though:
UIWebViews are heavy objects that suck a lot of memory, plus they may take some time to load and render your text. You should release your label as soon as you don’t need it anymore.