ios - Autolayout issue for UIImageView in UIScrollView (XIB) -


so, scenario this:

  1. i can use xib's (cannot use storyboards, , interestingly, problem not there when working storyboards :/ ).

  2. i cannot use autoresizing since main project building on needs autolayout of now.

please find sample project here: https://www.dropbox.com/sh/5p6wynl15kgaxok/aaawixetjnd4yjkjoizdyweza?dl=0

though seems have constraints set correctly, showing content ambiguity problem. when workaround tried adding more constraints (like horizontal center , vertical centre), warning go away, imageview doesn't zoomed when try same in ipad device running on ios 7.1.2 (there no issue on latest ones). and, have replicated same issue on multiple devices.

how can around problem solve problem in such way ipad problem doesn't come up.

the same constraints, when given similar setup in storyboards, doesn't have issue. unfortunately, cannot switch storyboards now. :(

what mean image view not zoomed? can see image in attachment.enter image description here


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -