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
Post a Comment