Preheat the oven to 175°C (350°F). Grease a cake tin and line the bottom with parchment paper.
Add the softened butter and sugar to a mixing bowl and whisk until light and creamy.
Add the eggs one at a time, whisking well after each addition. Stir in the vanilla extract.
In a separate bowl, combine the flour, baking powder, and salt.
Gradually add the dry ingredients to the butter mixture, alternating with the milk. Whisk until just combined.
Arrange the sliced apples in an even layer at the bottom of the prepared cake tin.
In a saucepan, heat the sugar and water over medium heat until the sugar dissolves and turns golden. Add the butter and cinnamon, stirring until smooth.
Carefully pour the caramel sauce over the arranged apples.
Pour the cake batter over the apples and caramel, spreading it evenly.
Bake for 40–50 minutes, or until a toothpick inserted into the center comes out clean.
Let the cake cool in the tin for 10–15 minutes, then carefully invert it onto a serving plate.
Allow it to cool slightly, then slice and serve!