Hey, I’ve been developing a card game app bUt i have a problem with the flipping animation:
When i press on a card, it’s supposed to flip just like the codewithchris matching game but i added a UiView that pops up in the middle of the screen that represents the card’s back and front images where at the same time as when the card flips, the UIView flips (with the Uiview.transition from: to: ). The only problem is that sometimes the cell flips too fast or the UIView flips but showing the front card on both sides but sometimes it shows the back to the front. Basically animations execution and duration are in shambles even though i used DispatchQueue.main.async on animations.
Please help ! Thank you