Preheat the air fryer to 375℉.
Now add the corn into the preheated air fryer. No need to add the seasoning right now but brush the corn with cooking oil.
Air fry the corn for 15 minutes and rotate the corn in the middle of the cook.
When finished brush melted butter across the corn and season with salt and pepper. The fresh butter is notably better than trying to cook with it in the beginning of the cook. Enjoy.