Apple censoring iPhone Apps that don’t use private APIs

So Landon Fuller wrote his own CoverFlow implementation for his iPhone App “Peeps”, and did such a good job of it that Apple refused to allow it on the iPhone store because they claimed it was accessing the Apple’s private CoverFlow APIs. I would have thought they had methods to check the executable code, rather than just looking at the app?