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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -