This Library is used for change background color. Enjoy :)
platform :ios, '10.0'
pod 'FantasticViewAC'
import FantasticViewAC
let fantasticView = FantasticView()
fantasticView.frame = self.view.bounds
self.view.addSubview(fantasticView)