Search code examples
iosswifteureka-forms

eureka ios form change background color


I am trying out eureka ios forms and its great, I just can't find how to change the color of the background instead of the light gray it has by default.

Example image


Solution

  • I found the answer, eureka has a var tableView! that displays the table, to change the color of any part of the table I call this var. so, to set the color of tables background

     override func viewDidLoad() {
        super.viewDidLoad()
    
        tableView.backgroundColor = #colorLiteral(red: 0.1960784346, green: 0.3411764801, blue: 0.1019607857, alpha: 1)