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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -