Apples that can hold up to the heat are best for roasting in the oven or air fryer, with pink lady, granny smith, and other such tart varieties bringing the best flavor and texture.