Hey,
I am asking if anyone have an idea how i can make a swipe bar using tabbar (slide left and right ) as whatsapp bar
One method for creating such a thing can be done quite easily by using a touch event, see https://docs.coronalabs.com/api/event/touch/index.html.
First, add a touch event listener to every display object (bar) that you want the user to be able to drag. Second, once the touch event starts, you simply measure the change between event.x and event.xStart. This gives you information on how many pixels the user has dragged their finger on the screen.
Finally, you need to write the code for what you want the app to do when the user has dragged a certain distance on screen and when they let go.
thank you for your answer :)
One method for creating such a thing can be done quite easily by using a touch event, see https://docs.coronalabs.com/api/event/touch/index.html.
First, add a touch event listener to every display object (bar) that you want the user to be able to drag. Second, once the touch event starts, you simply measure the change between event.x and event.xStart. This gives you information on how many pixels the user has dragged their finger on the screen.
Finally, you need to write the code for what you want the app to do when the user has dragged a certain distance on screen and when they let go.
thank you for your answer :)