Auto Layout center UIView above another UIView at its center
问题 I have a UIView ( popup ) and multiple UIButton s ( sender ). If I touch the sender I would like to center the popup at the coordinates of the sender . However, as of Auto Layout the popup always moves back to the initial position at refresh. I understand that I have to use constraints and change those programmatically. Unfortunately I don't know how I can adjust below code with constraints. Especially as the popup is larger as the sender . Could anybody give me some advice on how to move