Remove all husks and silk from the corn ears.
Pat each ear completely dry with paper towels.
Brush olive oil evenly over all sides of the corn.
Season with sea salt and freshly ground black pepper.
Preheat the air fryer to 380°F for 3 minutes.
Arrange the corn in a single layer in the air fryer basket.
Cook for 8 minutes without opening the basket.
Use tongs to flip each ear carefully.
Cook for an additional 6–7 minutes, until golden-brown spots appear and kernels are tender.
Remove and let rest for 2 minutes before serving.
Squeeze lime wedges over the top if using.
Garnish with chopped cilantro, if desired.