I don't know about this issue but I think that it can be solved by using these properties
tableView.layer.borderColor = THE_COLOR;
tableView.layer.borderWidth = 1.f;
Also, you may want to use SparkInspector or Reveal to properly debug the UI. You can set and inspect any property that you want at runtime using these apps.