Scrolling a very large image on iOS

Ender Nafi Elekcioglu endernafi at gmail.com
Wed Nov 27 14:58:20 EST 2013


Alan,
Webviews doesn’t have such a limitation, as far as I know.
But transcending to a hybrid approach is a huge undertake.
I have a co-worker who is proficient in Html5, so we’re discussing this issue.
We already use an html5 photo gallery in our apps.
It has its own drawbacks, though, 
one of many is that native mobile objects can’t get layered.
Apparently, Apple didn’t make them as a part of OpenGL library.
They don’t pass through touch messages, 
blending them into the app {making them look like a native part of the app} is really hard, etc.

Conclusion? 
I couldn’t convince myself, I’m still very fond of native solutions :)
I rather prefer using tricks as Alejandro mentioned.

Alejandro, 
I couldn’t think a way how to use an “xcmd”, “xfcn” or “hidden field” for scrolling.
I’m googling for working samples.
Thanks for the article, but pro’s outweigh the con’s thinking of my needs.

I've had 3 functionalities to be accomplished for my business apps.
* Slideview: to reveal an underneath menu and to go back previous page iOS 7 style
* Photo gallery: Android or iOS style gallery, pinch-zoom supported, native LiveCode
* Infinite scrolling: self-updating news list

First done, two to go :)


Best,

~ Ender Nafi


More information about the Use-livecode mailing list