If your computer doesn't recognize your iPhone or iPad
When you turn on and connect your device to a computer, it should appear in the Finder or in the Apple Devices app.
Use Windows PC
Open the Apple Devices app.
Connect your Apple device to your Windows PC using a USB cable.
If you see the “Trust this Computer?” alert on your device, click Trust. If you don’t see the alert, or you accidentally tapped Don’t Trust, reset location and privacy settings as described in About the 'Trust This Computer’ alert.

Your device appears in the sidebar of the Apple Devices app window.
If your computer still doesn't recognize your device:
Check your USB cable and connection. If your device doesn't chime or vibrate when connected to your computer, unplug the USB cable and check the charging port for debris.
Try another USB cable. The cable must support both data and charging.
Try another USB port or computer.
Check for software conflicts.
Check that you’re using the latest version of Windows.
Check that you’re using the latest version of iOS or iPadOS.
If your computer still doesn't recognize your device, you might need to contact support for service.
Use Mac
Connect your Apple device to your Mac using a USB cable.
If you see the "Allow accessory to connect?" alert on your Mac, click Allow.

If you see the “Trust this Computer?” alert on your device, click Trust. If you don’t see the alert, or you accidentally tapped Don’t Trust, reset location and privacy settings as described in About the 'Trust This Computer’ alert.

Your device appears in the sidebar of the Finder window. If you don't see a sidebar in the Finder window:
From the menu bar, choose View.
Click Show Sidebar.
If your Mac still doesn't recognize your device:
Check your USB cable and connection. If your device doesn't chime or vibrate when connected to your Mac, unplug the USB cable and check the charging port for debris.
Try another USB cable. The cable must support both data and charging.
Try another USB port or Mac.
Check for VPN and other third-party security software.
Check that you’re using the latest version of macOS.
Check that you’re using the latest version of iOS or iPadOS.
If your computer still doesn't recognize your device, you might need to contact support for service.
Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.