I need to make a rectangular portion of my view blacked out when the user taps the SearchBar. I cant figure out a way to do that. I tried CGRectMake but how do i set alpha of that rect??
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.
Why don’t you add another
UIViewand add it on theUIViewat some event?