That game was a DS game (released in 2008), which was later released for iOS (in 2009), not the other way around. (It is also particularly awful on both platforms.)
These dates are something you could've easily looked up yourself, you know. It took less than thirty seconds.