I’m am able to draw a custom focus ring by subclassing the scrollView. My question is, how do I test if the textVeiw (that is inside the scrollView) has focus, in order to change the focus ring.
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.
You can subclass the text view and override becomeFirstResponder. That method will be called when the text view becomes the first responder, by clicking on it or tabbing from another responder.