In a storyboard, the height is ImageView = 60 . How can I change it programmatically to 100 ?

    2 answers 2

     CGRect frame = imageView.frame; frame.size.height = 100; imageView.frame = frame; 

      Set the height height, and use the imageOutlet.constant parameter imageOutlet.constant change the height