Problem :
On the first view i have the view which is displaying the map. i have a button when activated adds an another view on top to show a red border where user can see the actual area. But thats raise an issue which user cannot access or touch the underneath map.
What i tried
//Create Border
@IBDesignable
class Frame: UIView {
override func drawRect(rect: CGRect) {
//layer.masksToBounds = true
layer.borderWidth = 10
layer.borderColor = UIColor.redColor().CGColor
}
}
ScreenShot