iphone 8 & ipad 7 won't stay connected to macbook (mid 2015) usb charging ports
I have just updated iOS on my ipad 7th gen and iphone 8plus to be up to date. My macbook is also up to date. I was not having this problem a week ago before updating my products. Now when I plug in my iphone or ipad using a lightning to USB cable (I have tried the cable that came with the ipad and the one that came with the iphone) it flashes between being connected and charging and not being connected within seconds. Back and forth between connected and not connected. I need to be able to connect my ipad to my computer to use duel display. Please help, I think it must be something wrong with the newest iOS. I have tried charging my beats that use micro-USB to USB cables and that works fine.
iPhone 8 Plus, iOS 13