I have an apple tree in the back yard that is about 10yrs old. The trunk of the tree, its bark is peeling and when it produces apples, it has black spots on them and leaves curl. any advice would be helpful.
The damage to the fruit in the top picture looks like a pest has bored its way in. Have you cut open the fruit to look? If there are tunnels but nothing there it may have finished feeding and left. Coddling moth damage looks similar, see these pictures: