I want to know how to simply mask the visible area of a UIView of any kind. All the answers/tutorials I\'ve read so far describe masking with an image, gradient or creating
No need any mask at all. Just put it into a wrapper view with the smaller frame, and set clipsToBounds.
wrapper.clipsToBounds = true