Using auto layout with static background image
问题 I am new to auto-layout and struggling with the layout of a view. I have a UIImage pinned to the superview (0,0,0,0), it is set to aspect to fit. I am struggling to add labels and buttons that remain in position relative to the image as the device screen size changes What would be best way to set these labels/buttons to change with screen size and background image? I am trying make each objects height relative to its direct parent and then leading edge of superview. Any input appreciated 来源: