Geoff Hackworth
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.

--

--

Geoff Hackworth
Geoff Hackworth

Written by Geoff Hackworth

Independent and freelance software developer for iPhone, iPad and Mac

Responses (1)