I have a similar problem whose solution has been proposed here: https://stackoverflow.com/a/16511494/3134192
I have a outer view containing an inner view. The outer view is rotating (ongoing, endless animation) using CGAffineTransform
. I want to calculate the frame of the inner view relative to the rotated outer view (-> the frame of the actual displayed inner view, as it's rotating with the outer view).
I'm not quite understanding these convert()
methods of UIKit
. I never get which coordinate systems it's converted from and to. Also, the solution from the question is not working for me, it's giving me an incorrect frame.
I'd appreciate any help with this. Thanks!