I have a UIImageView and I have a CGPoint on the screen. I want to be able to test that point to see if it is in the UIImageView. What
UIImageView
CGPoint
In Swift 3
let isPointInFrame = UIScreen.main.bounds.contains(newLocation)