Apple has kept malware out of its App Store but iOS devices, like their Android rivals, are still susceptible to all sorts of attacks.