UIAnchor will let you position things relative to edges of the screen, sure -- but for clipping you will need to write your own logic. For the panel you will want to adjust its clipping, UIAnchor won't do it for you. For an example of how UIAnchor can be used, look at the first example.