Why AutoLayout not working

  1. in storyboard i set view controller size iPhone3.5-inch
  2. add constrains with uilableenter image description here

enter image description here

  1. uilable.text cannot show all,so i change view controller size iPhone 4.7-inch
    enter image description here

  2. so i tap uilabel update frame , autolayut work, it all ok!this is iPhone 4.7-inchenter image description here

  3. now the problem coming,when i run in iPhone simulator iPhone 6, autolayout don’t working, the label size only zoom, the width don’t change longer。 and The following three images constraints witd and height both 32,but in simulator iPhone 6 images size Look bigger,Why is this so? please help me ,very thinks
    enter image description here


Source: ios

Leave a Reply