It has phase detection at least. Something sorely missing from these camera phone/phone cameras is an internal optical zoom so that the lens barrel never protrudes from the body - like the Pentax Optio WS80 which uses a prism so that the optics/elements move along the x rather than z axis inside the camera body. Apple filed a patent for such a thing a year or so ago, but they've also filed patents for all kinds of shit that has never seen the light of day.
Calling the 56mm second lens on the iPhone 7 an "optical zoom" is taking things a bit far. I guess calling it a prime portrait lens would leave more than a few people scratching their heads.