Add didTapOverlay functionality for Swift