Skip to content

add hitTest to this library #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
simaattar opened this issue Jul 1, 2019 · 5 comments
Open

add hitTest to this library #22

simaattar opened this issue Jul 1, 2019 · 5 comments

Comments

@simaattar
Copy link

Hi,
I'm trying to use this fabulous library with a large radius, in a way that icons would locate outside of the parent view, And as a result, they can't be clicked!!!
how can I add HitTest function to this??

@zsy78191
Copy link
Owner

zsy78191 commented Jul 4, 2019

how large? could you give me the value or screenshot

@simaattar
Copy link
Author

Hi. Thanks for your quick response.
I need a radius of 155 for icons, and I want the rounded circle to be 150*150.
Actually I need the icons to locate outside of the rounded circle.
Thanx.

@zsy78191
Copy link
Owner

zsy78191 commented Jul 4, 2019

I suggest you modify the source code and set the background circle to a transparent color to achieve the effect. It is not recommended that you put the button outside the radius.

@simaattar
Copy link
Author

Well, I have set a picture as the background of the rounded circle, so it doesn't look good if icons locate inside that, since they cover the picture...
Isn't it possible for you to modify the hittest function? I can't do this since I'm not familiar with objective-c.
I would really appreciate your help.

@zsy78191
Copy link
Owner

zsy78191 commented Jul 5, 2019

I still don't quite understand your specific needs. If it is convenient, I suggest that you write a small demo that can't be sent to github. I try to improve on your demo. Although I won't swift, I think it might be easier for me to understand your needs.

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

No branches or pull requests

2 participants