Match App Card game question

Hi’ ,
Suppose i have 12345 cards if i select card 4 and dragging in between 1 and 2 then it should come on top of1 and below 2 …How to do this please help me

@sailaja_k

I have moved your post to a separate topic.

I will try to help you but I don’t understand what you mean by “dragging in between 1 and 2”.

Hi dragging here refers to selcted card dragging and placing in between 1 and 2 cards

Do you mean that you want to modify the way the Match App Card game works so that you can drag a card from a position and insert it between two other cards?


From above screenshot A card is selected if we move half image is on top of 2 and half image is below the 8

Unfortunately I have to confess that I have no clue whatsoever how to do that but it will have something to do with a Drag Gesture. You will have to search for something like “Swift, how to drag a card from one position to another”.