First, check whether the magnetic charger itself is damaged, you can take other mobile phones to check. Or reboot the magnetic charger.
< br >
Second, if the magnetic charger is no problem, see if the relevant Settings of the iPhone are open, and whether the option to allow external charging is allowed.
< br >
But if the charger and phone Settings are no problem, it is recommended to go to the Apple store, or find a door-to-door repair master to help look.