How do you get rid of these lines on the side of the table?
The problem is not in the lines.
The problem is in the labels' background color.
Just set the background color (.backgroundColor property) of the label (the one that contains the text "Item 1", "Item 2" etc.) to [UIColor clearColor]
inside the cellForRowAtIndexPath
method.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.