iOS Swift Assessment: Views in Code

Instructions

Views In Code

  • Add a view to your view controller in storyboard.
  • Programatically set the following constraints:
    • Height - half the height of the view
    • 20 pts from the top
    • 20 pts from left and right