I need to refresh a view controller when a certain button is tapped. Simply activating viewDidLoad() does not seem to be working for what I need to
view controller
viewDidLoad()
If you need to update the canvas by redrawing views after some change, you should call setNeedsDisplay.
Thank you @Vincent from an earlier comment.