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

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -