UIKit
Overriding hitTest
You've put a round button in the middle of a custom UIKit tab bar that sticks 20pt up above it. Tapping the part that sticks out does nothing. Which override below fixes this correctly?
// inside the tab bar (parent view)
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
/* ??? */
}Pick one