If you prefer to charge your iPad, you can connect a cable between the Mac and iPad