Preheat oven to 175°C (350°F). Line an 8 inch square cake tin with parchment.
Make the topping - melt butter in a pan then add the chopped and peeled apples, sugar, and cinnamon. Cook 5–7 mins until tender. Cool slightly.
For the cake, cream butter and sugar until fluffy using a stand mixer or hand mixer and mixing bowl.
Add eggs one at a time, then mix in vanilla.
Fold in flour, baking powder, spices and salt alternately with milk.
Spread batter into tin.
Top evenly with apples.
Bake 35–40 minutes until golden and a skewer comes out clean.
Make the cinnamon glaze - mix the icing sugar and cinnamon with the milk until you've got the right consistency - you want it thick but drizzle-able. Drizzle over the snack cake, and allow to set for 10-15 minutes before slicing. Enjoy!