Apple announced that it's releasing an iPhone security update to prevent attackers from acquiring users' private passcodes.