blob: 1a4ee8a5d5f6b1c2add2b9e65d237b09bc2bc13f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//
// NotificationContainerView.swift
// MullvadVPN
//
// Created by pronebird on 03/06/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
//
import UIKit
class NotificationContainerView: UIView {
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
let hitView = super.hitTest(point, with: event)
// Pass through taps if no subview was touched
if hitView == self {
return nil
} else {
return hitView
}
}
}
|