Wash and dry the pumpkin, then cut it into thick 1-inch strips with the skin on.
Pat the strips dry with a kitchen towel.
In a large bowl, add the pumpkin, garlic, oil, black pepper, cornstarch, and salt.
Toss well so every strip is coated.
Preheat the air fryer to 180°C (360°F) for 2 minutes.
Arrange the strips in a single layer in the basket.
Air fry at 180°C (360°F) for 22 minutes, until tender with roasted, crisp edges.
Serve hot.