For a clear and glossy apple pie filling, I recommend using cornstarch. You will need at least double the amount of cornstarch to thicken the filling if using all-purpose flour. Using too much flour can cause the pie filling to become cloudy and leave the taste of flour in the recipe.