In my app, I use a UITableView
My problem is that I want to remove the last border of the last cell in UITableView.
Please check the following image:
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.
Updated on 9/14/15. My original answer become obsolete, but it is still a universal solution for all iOS versions:
You can hide
tableView‘s standard separator line, and add your custom line at the top of each cell. The easiest way to add custom separator is to add simpleUIViewof 1px height:To date, I subscribe to another way for hiding extra separators below cells (works for iOS 6.1+):