1. Prick apples in a few spots with a fork. In a medium saucepan, combine vinegar, water, sugar, salt, ginger, allspice, peppercorns, and anise; bring to a boil and stir to dissolve sugar. Add apples; cover and simmer about 5 minutes or until a paring knife inserted in center of an apple meets slight resistance. Transfer apples and liquid to a bowl to cool completely.
2. Transfer to a clean glass jar with lid and refrigerate at least 8 hours. Can be refrigerated up to 1 month.