Preheat the air fryer to 400 °F
In a large bowl, toss together the potato halves, olive oil, black pepper and rosemary.
Transfer the potatoes to the air fryer basket. Cook for 10 minutes, shake the basket, and continue to cook for another 10 minutes.