Preheat the oven to 350 degrees.
Grease a 9-inch spring form pan with cooking spray. Sprinkle some flour all over.
Cream the sugar and oil in a mixing bowl using an electric mixer until creamy.
Add the ricotta and vanilla and mix. Add the eggs and continue to mix until well combined.
Mix the flour, salt, baking powder and ground cinnamon in a separate bowl and add to the liquid mixture. Mix until well combined.
Fold in the apples and pour the batter into the greased pan.
Bake for about 50 minutes or until a toothpick inserted in the middle comes out clean.
Once done cool on a wire rack and serve warm