teodorpatras / EasyTipView

Fully customisable tooltip view in Swift for iOS.
MIT License
3.07k stars 535 forks source link

Allow presentation in custom windows #213

Closed rebello95 closed 1 year ago

rebello95 commented 3 years ago

This PR allows consumers to pass custom UIWindow instances in which to display the tooltips.

The use case I have is showing a custom window behind the tooltip to automatically dismiss the tooltip if the user taps anywhere else on the screen, and showing the tooltip within this window allows for only handling touches that don't overlap with the tooltip. If this functionality is useful, I can also open a PR to add support for it.

rebello95 commented 3 years ago

@teodorpatras any chance we could merge this? Thanks!