While you can wrap the corn in foil, it won't achieve the same crispy texture. It's best to cook them directly in the air fryer basket.