Skip to content

Instantly share code, notes, and snippets.

@hashaam
Last active August 16, 2020 16:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save hashaam/69023eac93420a57d0fffda8842f006f to your computer and use it in GitHub Desktop.
Change background color of view in view controller
// Youtube: https://www.youtube.com/watch?v=7AlZxClmhPw
// Source: https://hashaam.com/2020/07/30/creating-camera-application-with-avfoundation/
override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .red
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment