Mix dry ingredients: Sift flour, baking powder, cinnamon, ginger, and aniseed/cardamom into a large bowl.
Rub in butter: Add butter or margarine and rub in with fingertips until mixture resembles fine breadcrumbs. Stir in sugar.
Make the dough: Beat eggs and milk together. Add to flour mixture and mix into a soft but firm dough (add a little extra flour if too sticky).
Shape: Roll dough out on a lightly floured surface to about 1 cm thick. Cut into rectangles or ovals (about 6–8 cm long).
Fry: Heat oil over medium heat. Fry koeksisters in batches until golden brown and cooked through (about 2–3 minutes per side). Drain on paper towels.
Prepare jam coating: In a saucepan, gently heat apricot jam with enough hot water to make it a thick, spreadable glaze.
Coat: While koeksisters are still warm, dip them into the jam mixture, making sure they’re fully coated. Immediately roll in desiccated coconut.
Cool and serve: Allow to cool on a wire rack. Best eaten fresh, but they keep well for 2–3 days in an airtight container.