Skip to content
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

Get it working with MacOS Catalyst? #14

Closed
robertherber opened this issue Feb 21, 2022 · 4 comments
Closed

Get it working with MacOS Catalyst? #14

robertherber opened this issue Feb 21, 2022 · 4 comments

Comments

@robertherber
Copy link
Contributor

I'm trying to get this working on MacOS Catalyst (on the M1), but can't seem to get it working. According to Apple's docs it looks like it should be possible but I'm starting to have my doubts. It doesn't crash or anything - it just doesn't work.

Any ideas?

@sonnysantino
Copy link
Contributor

I'm not sure that is even possible, looks like something specific for iPad only, do you know any mac app that use this?

@robertherber
Copy link
Contributor Author

I've skimmed through lots of Apple docs and I can't find clear indication on whether it's possible with the UIPointerInteraction API. It would make sense if Apple provided one API for both. I see many apps using hover effects on Mac - but the hover effect is slightly different (which kinda makes sense).

This is another API that might work on both: https://developer.apple.com/documentation/uikit/uihovergesturerecognizer - maybe this could be used to provide a simple fallback?

@sonnysantino
Copy link
Contributor

For what i understand this will only give the on hover event, having you to recreate the nice effects apple provides on ipad

@robertherber
Copy link
Contributor Author

Yeah, that’s my understanding as well.

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