How can I set inner shadow to cell.textLabel?
Like this:
cell.textLabel.innerShadow = xyz(2, 2, #000000);
or what?
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.
It’s a bit more complicated than that with inner shadows. You basically have to do the drawing yourself and masking out the area outside of the text.
You can look at this question for the inner shadow part and this question for getting the path of the text. Then you piece them together so that you draw and mask the inner shadow with the path of you text.