uikit - UIView.convert(_:to:) - use frame or bounds? -


if want cgrect of arbitrary view b in root view a's view hierarchy, typically use uiview.convert(_:to:) method on b. second argument view a coordinate system want first argument's cgrect expressed in.

if have correct question is, should use a's frame or bounds first argument, , why? using 1 on affect returned cgrect expressed in terms of b?


Comments

Popular posts from this blog

Ansible warning on jinja2 braces on when -

Parsing a protocol message from Go by Java -

html - How to custom Bootstrap grid height? -