Reply to How do I generate a new random color every time the view loads? Put your function in viewWillAppear(). It will be called every time the view appear while viewDidLoad() is called once upon the app starting Programming Languages Swift Dec ’20