Apple offers lots of security features and doesn't release its source code to developers. That's why Apple's iOS operating system has long been considered more secure than Android. Still, that doesn't mean it can't be hacked.