Both operating systems have pros and cons. I'm an Android user and I once stored all my Bitcoin portfolio on the device. I have never been hacked before. And that's because I practice common senses. User is the #1 reason for security breaches. To answer your question, despite being a loyal Android user, I'd say iOS has better security. As the OS is closed source, hence any vulnerability is hard to discover.