Uh, no. The Apple iPhone encryption is unhackable. It would take about 5.62 undecillion years to try every possible key using brute force to break into the 256bit AES encryption used on an iPhone if the user has chosen to use a sixteen character complex passcode and not much shorter if he's decided to stay with the four digit passcode. Why? Because the iPhone entangles the passcode with an internal 128 character UUID to use as the key for the encryption.
5.62 undecillion years is 5.62 x 10195 years.
There is no way for your putative hacker to find the passcode stored on the iPhone because it isn't stored on the iPhone. It's kept in the processor's Secure Enclave chip as a one-way HASH, and has to be recalculated from the input passcode each time. . . and the encryption key has to be recalculated each time as well.
“5.62 undecillion years is 5.62 x 10195 years. “
Frightening.
That’s how old I feel some days.:-)
.