AutoLayout Xcode6: Need autolayout constraints for this:
问题 I am new in autolayout (I am good in autoresizing). My requirement is:- I have 2 view (say blue and green, width and height of both view is 300 pixel in iPhone5). height and width of both view can change according to screen resolution. X and Y origin can also change. What constraints should I use for this autoresizing masks. 回答1: It is unclear if the blue and green are siblings or if one contains the other. If the effect you want to achieve can be produced through an autoresizing mask, then