Green’s Dictionary of Slang

apple pie n.2

(US prison) a pretty, young (prison) homosexual.

[US]D.W. Cory Homosexual in America 112: The passive [pederast] is defined by no less than sixty-eight different words or phrases, from apple-pie to works.
[US]Bentley & Corbett Prison Sl. 60: Sweet Meat A young and pretty, passive homosexual partner. (Archaic: apple pie).