How to Fix “Unlock iPhone to Use Accessories”
In iOS 12 version, it requires you to unlock your iPhone/iPad if you want to connect a USB accessory. It’s because of “USB Restricted Mode” option, which can protect your iPhone/iPad from hacking tools.
more