Apple changed the way their devices are reset before a full format was necessary. Now when a device is wiped the decryption key is deleted rendering the information useless and the software is reinstalled over the old system. If you connect the Apple device to a computer or forensics software. Getting into the device is extremely difficult, if not impossible without the right hardware that generally authorities do not have access to.