Why is my iPhone no longer charging?

My iphone stop accepting a charge via its connection to a wall outlet or my Mac laptop.
Re: iphone not charging

hi, is possible to try a different cable.
If you've tried a different charging cable, and the device is still not charging, I recommend you make a Genius Bar appointment with the nearest Apple Store and have them troubleshoot it for you. 🙂
Also check the charging port for dirt and debris. Make sure it's clean and clear.

Original thread: https://forums.imore.com/threads/why-is-my-iphone-no-longer-charging.295154/