uiimage - Autolayout Resize UImageView and UILabel when UIImageView empty -


when uiimageview empty...than resize uilabel , hidden uiimageview.

enter image description here

anyone idea?

  1. you can either change label bottom constraint constant either bottom spacing or image view top constraint - depending of visibility of image view or
  2. (available in ios 8.0 , later.) create 2 bottom nslayoutconstraint label. 1 lower priority bottom of view , 1 higher priority. change active property yes/no of 1 higher priority depending of image view visibility

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -