To ensure even cooking, make sure to cut the vegetables into uniform sizes and arrange them in a single layer in the air fryer basket, avoiding overcrowding. Shake the basket or stir the vegetables halfway through the cooking time.