Question : swift convert frame to another view
Answered by : important-iguana-rt39xled9mpg
// Swift
let frame = imageView.convert(button.frame, to: self.view)
// Objective-C
CGRect frame = [imageView convertRect:button.frame toView:self.view];
Source : https://stackoverflow.com/questions/8082493/how-to-get-the-frame-of-a-view-inside-another-view | Last Update : Wed, 22 Dec 21