You can cook the potatoes in the air fryer instead of the oven. The principle is the same: place the washed and cut potatoes in a bowl, add the rosemary, olive oil, and season with salt and pepper. Then, place them in the basket and cook for 20-30 minutes, depending on the size of the potatoes, at 390 °F (200 °C), stirring in the middle