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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to implement an entity bound odata action in olingo v4.3 -