Seeing an “unknown accessory detected” message on your iPhone or iPad can be scary. Here’s what you need to know…