In light of Apple’s announcement last week that malware had infiltrated its iOS App Store, many devoted customers have been left wondering if using an Apple device is still as safe it was once touted to be.

In case you missed it, what happened was developers downloaded infected app-creation tools from non-Apple websites and infused otherwise legitimate programs with malware, dubbed XcodeGhost. Unaware of the infection, developers uploaded the programs to Apple’s App Store for consumers to download, creating the widely talked about problem.

But while security measures, which are constantly being upgraded to keep up with hackers, were somehow breached, word has it that Apple devices are still more secure to use than Android devices.

Ryan Olson, a cybersecurity expert and director of threat intelligence at Palo Alto Networkswas quoted in the Huffington Post comparing Apple devices with Android devices and promoting Apple devices as more secure.

"The walled garden that Apple has set up has a lot fewer holes than what Google's set up with the Google Play store," he said.

Proving his point, just two months ago, 1 million Android users were infected  with malware when they downloaded a simple game from Google Play.

Damon Beres from the Huffington Post explains why this isn’t more common for Apple.

The reason, he states is pretty simple: Mobile malware is most commonly spread when users try to download software from unofficial sources. With an iPhone, it’s still much more difficult to do this because you have to "jailbreak" your device first – something that takes a lot of time and is a skill-intensive process.

Android devices, Beres writes, are a bit more open -- you simply need to change one little setting to install any app you've downloaded from the Internet.

But, nonetheless, XcodeGhost still got into the Apple App Store, and possibly onto many Apple devices.

So what can owners of iOS devices do to secure their gadgets? Not much, but there is one simple step you can take.

Always completely update your iPhones and iPads, as well as all of the apps on them in order to have the latest security measures working for you.