Preheat the air fryer to 400 degrees F (200 degrees C).
2
Place an ear of corn on a cutting board and cut in half lengthwise. Cut each half in half lengthwise. Repeat with remaining ear of corn. You should have 8 "ribs" total.
3
Whisk together olive oil, chili powder, garlic powder, and black pepper in a small bowl until well combined. Brush onto both sides of each rib and place in the air fryer basket.