Hi Laurie,
The problem with fruit fly (ff) infestation is that it is usually too late to do much once you notice the infestation.
To regain control is difficult. Using systemic insecticides are the most effective. Like Lebacyd. It is absorbed by the fruit and makes it toxic to the larvae. While the fruit is green the ff lay their eggs in the skin. As the fruit ripens the eggs hatch.
You need to start control early. Then their needs to be a 7 day with holding period. The fruit stays on the tree until all the insecticide is dissipated.
Also be aware that lebacyd is fenthion. It is extremely toxic to bird life.
Check where any slight over spray may go.
1 cc of it can kill 2000 -3000 pigeons. If you have any pet birds do not go near them after spraying until you shower and change.
LD50 is around 250 micro grams per kilo of bird weight.
Cheers and good luck.