Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Is there an option to add button to the tooltip view? #217

Open
nirb1991 opened this issue Aug 8, 2021 · 3 comments
Open

Is there an option to add button to the tooltip view? #217

nirb1991 opened this issue Aug 8, 2021 · 3 comments

Comments

@nirb1991
Copy link

nirb1991 commented Aug 8, 2021

I'm looking for a correct way to add a button to the tooltip view, could you please assist?

@nikletsopen
Copy link

@nirb1991 you can add your fully custom view which will include the button. See examples here - https://github.com/teodorpatras/EasyTipView/blob/master/Example/EasyTipView/ViewController.swift

@minhtien1403
Copy link

@nikletsopen I can't handle action of button inside custion view, do you have any solution

@nikletsopen
Copy link

@minhtien1403 you can create your own UIView subclass, and handle button tap there. Then just add this view as a custom view to the tooltip view.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants