How is iOS more safe than Android?

How is iOS more safe than Android?

iOS is a closed system. Apple doesn't release its source code to app developers, and the owners of iPhones and iPads can't easily modify the code on their phones themselves. This makes it more difficult for hackers to find vulnerabilities on iOS-powered devices.