Allow the cupcakes to cool completely.
Use a knife to core out the center of each cupcake.
Using a small spoon, fill the center with pie filling.
Pipe the frosting over the pie filling, covering completely.
Thinly slice a fresh apple and garnish just before serving.