In the same pan over medium-high heat, brown the onion and apples for about 2 minutes, adding oil as needed. Deglaze with the vinegar. Return the pork to the pan and add the apple juice. Cook uncovered in the oven for 2 hours, 45 minutes, basting 5 or 6 times during cooking. Add apple juice or chicken broth as needed.