Welcome to the Rudi Latka's Soccer School. The basic dive is best done at speed so the referee can't see what's happened. As you approach your opponent, flick the ball past them, and then as you pass the player dive upwards and then turn in the air slightly before landing. As you land look towards the ref with puppy dog eyes in order to secure the free kick.
Have an iPhone? Check out all 200+ new features coming in iOS 13.