Swift Swift: Making Background Images, Small Images and Custom UIViews with Autolayout

For those who have worked a bit with auto layout, there are two topics that seems to be a real challenge: using a custom UIView, especially when using Core Graphics , and displaying photos  either in the foreground or as a background. Both suffer from similar problems. When changing device or changing orientations they are …