UnityNativeGallery icon indicating copy to clipboard operation
UnityNativeGallery copied to clipboard

No native "back to app" animation after selecting images on iOS.

Open happaro opened this issue 6 months ago • 1 comments

I noticed that after selecting images there is no animation of transition to the application from native picker window. Perhaps this is done to prevent errors. If so, can you tell for which ones?

I added this animation by changing lines [picker dismissViewControllerAnimated:NO completion:nil]; to [picker dismissViewControllerAnimated:YES completion:nil]; in NativeGallery.mm

P.S. Thanks for plugin:)

happaro avatar Jul 06 '25 06:07 happaro

I've found out that it's changed here: https://github.com/yasirkula/UnityNativeGallery/commit/245bc06b0142e7c59a239aea3db5695ae5ad0e29. The commit message could have been nicer. I can't fully remember the reason but it was either related to a crash or the case where image picker is presented while it's being dismissed with animation.

yasirkula avatar Jul 06 '25 08:07 yasirkula