Green’s Dictionary of Slang

apple n.2

[rhy. sl.; apple core = score n.2 (1)]
[1990s+]

1. (US black/drugs) heroin.

2. (UK prison) the situation, the ‘score’.