ios - How to remove the top line of UITableView? -


how remove first line after search bar?(see pic) enter image description here thanks

the short answer can't. built-in cell dividers either drawn everywhere, including above top cell , below last cell, or not @ all.

the long answer have turn off cell dividers , add one-point lines @ top , bottom of custom cells , add code in table view's cellforrow(at:) function shows , hides lines based on cell's position in table view. it's awful, horrible, fussy code write, don't know of other solution.


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -