The problem with home composting is the compost rarely reaches a high enough temperature to destroy diseased or insect-infested material. For this reason, you should pick up all dropped and infested apples and put them in the garbage. You cannot control what your neighbors do, so spraying must continue on a regulated schedule.
Contact your local Extension Office and request information on insect and disease control on homegrown fruit.
