1 min readMay 24, 2018
Using bounds will work only if bounds.origin is 0,0. That is often true, but not always (e.g. scroll views adjust the bounds.origin as they scroll). if the view has a rotation transform applied, i think that will also be wrong.