In a blender or food processor blend the dried apricots and juice until they are smooth.
In a separate bowl, mix together the sugar and flour.
Beat the egg. Add it to the flour and sugar. Mix together.
Add the apricot puree and raisins. Combine together.
Spray an air fryer safe baking tin with a little oil. Transfer the mixture over and level off.
Cook in the air fryer for 12 minutes, check it at 10 minutes. Use a metal skewer to see if it is done. If need be, return the cake to the air fryer to cook for a few more minutes to brown up.
Allow to cool before removing from the baking tin and slicing up.