I would like to add an answer.
While it sucks, you cannot add subview to UIImageView , you can get the same effect by turning on UIView with a transparent (clear color) background.
Then put the UIImageView BEFORE that.
Thus, the UIView has subzones, and the UIImageView is the background of the UIView .
I think the intention of the apple.
Here is a screenshot:

Here is the result:

Remember to set the background as pure color.

Now, if someone could really point me to a tutorial on how to do this, that would be great. I spent several hours on this, checking the answer. The verified answer is a great answer, but very unintuitive because you cannot clearly see your background image while you work. I believe this is the right way to do this.
J. Chang Oct. 12 2018-12-12T00: 00Z
source share