Currently there is a scrollview (whole screen) that sits behind a uiview (bottom portion of the screen). I"m trying to check whether or not a label on the scroll is covered by the uiview (this happens with iphone se). Is there a way to check if the uiview is covering the label on the scrollview? I tried using the center cgpoint of a label on the scrollview to see if its smaller than a point on the uiview but it won't allow me to compare two cgpoints for size:
if atmLabel.center < CGPoint(x: 156, y: 570) {
buttonView.dropShadow(shadowOpacity: 0.5)
}