I am creating a custom tableView with style grouped. My custom cell doesn’t adjust with the rounded corners, only when the table is selected.
Any idea why this happens?
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.
Given the limited provided information about how you draw the cells, here is a blog post that shows a good way of how to do it, along with a gradient background. Basically, you need to draw the corners yourself because iOS wont clip it for you if you override the drawing behavior.
Full Disclosure: It is my code blog.