Pear is fine as well; pear and apple are closely related, but pear trees are much rarer.
You can also feed the leaves. Please keep in mind that the leaves are quite high in calcium so they are not advised for piggies with bladder/urinary problems, but they are fine for others. They were certainly a great hit with mine when we still had a access to my mother-in-law's apple tree!