kayak_ui icon indicating copy to clipboard operation
kayak_ui copied to clipboard

Mobile Support - iOS

Open simlay opened this issue 3 years ago • 1 comments

Hi there,

I've been watching this project for a few weeks and notice that the rendering uses bevy which has done a good job at keeping iOS and Android as supported platforms.

Would you be interested in iOS support. I can tell you that some of the examples to this point work in the iOS simulator via:

cargo dinghy --platform auto-ios-aarch64-sim run --example text_box 
rm -r target/aarch64-apple-ios-sim/debug/dinghy/text_box/Dinghy.app/resources/
xcrun simctl install booted ./target/aarch64-apple-ios-sim/debug/dinghy/text_box/Dinghy.app/
xcrun simctl launch booted Dinghy

You need to have an iOS simulator booted of course.

image

Click/taps don't seem to work as I think those are different winit events. Also, text input doesn't work because it's pretty specific to iOS.

simlay avatar Apr 19 '22 22:04 simlay

Thanks for bringing this to our attention! I haven't tried running any of Kayak on mobile but I'm glad to see it at least renders lol.

Touches were somewhat in the back of my mind when working on the current event system, but I'll be honest that it wasn't a high priority for me at that time.

I don't want to speak for @StarArawn, but I think the goal right now is to tie up loose ends (text editing/selection, nine-patch bugs, etc.) and publish an initial release since it's about due for one. Once we get that figured out, we can probably put more effort into bringing mobile up to par.

If you (or anyone else) would like to contribute towards an improved mobile experience in the mean time, though, that would be very appreciated!

MrGVSV avatar Apr 20 '22 00:04 MrGVSV