iOS 12 causes charging problems for some iPhone, iPad models