How to connect an iPad to your TV in two different ways