hello I want to show a custom separator line with the same color and height of like default table separator. I am using Dynamic Prototype Table. I have put UIView
from interface builder to my cell and set its height to 1px and setup an outlet
@IBOutlet weak var separatorLineUIView: UIView!
then I don't know what should I write here in cellForRowAtIndexPath
function
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("cell", forIndexPath: indexPath) as! ProductRequestTableViewCell
cell.separatorLineUIView
and also want to set its color and height to default table separator line so that it shows same for all the devices