iOS Home screen swipe navigation

Hi,

I am looking to create a menu navigation like how the homescreen on iOS works, where the user can swipe left/right to view different menu “scenes” containing different display groups.

I have been looking at the newScrollView widget’s (https://docs.coronalabs.com/api/library/widget/newScrollView.html) touch detection functionality, and feel that it could be helpful in detecting the user swipes (left/right, no up/down). However, I am mainly unsure as to make different objects (display groups) appear in their respective location as the user goes left/right and/or back.

If anybody has any thoughts, it would be greatly appreciated.

Thanks

https://gist.github.com/HoraceBury/21c51048d717d49c3f29

This might help:

https://www.youtube.com/watch?v=dZ8wfx2t4sQ
http://forums.coronalabs.com/topic/60980-composer-swipe-navigation-free-mini-module/

Hi,

I just downloaded it and found it to work great. However, I was wondering if there was a way to make it move as the user swipes. That way, rather than once the user completed their swipe it moves, as they swipe they can see the next scene begin to move in/out, much like on the iOS homescreen.

I do think that this may be impossible to have two composer scenes being displayed next to eachother at once, and am thinking that putting it all in one scene and moving the display groups might be a better option (allowing them to loop completely with swipes like in your example).

If you have any ideas as to if this can be accomplished, please let me know.

Thanks

Try my link

https://gist.github.com/HoraceBury/21c51048d717d49c3f29

This might help:

https://www.youtube.com/watch?v=dZ8wfx2t4sQ
http://forums.coronalabs.com/topic/60980-composer-swipe-navigation-free-mini-module/

Hi,

I just downloaded it and found it to work great. However, I was wondering if there was a way to make it move as the user swipes. That way, rather than once the user completed their swipe it moves, as they swipe they can see the next scene begin to move in/out, much like on the iOS homescreen.

I do think that this may be impossible to have two composer scenes being displayed next to eachother at once, and am thinking that putting it all in one scene and moving the display groups might be a better option (allowing them to loop completely with swipes like in your example).

If you have any ideas as to if this can be accomplished, please let me know.

Thanks

Try my link