It has happened to me a couple of times that the touchscreen my ipad and or iphone bugs out and dont track my finger as it should. Most often this happens when using non compatible accessories and chargers. When this happens the solution to the problem is to turn your device off and on again. However since the touch screen isnt working how do you turn it off?

 

The solution is simple and explained below:

1. Make sure all accessories and cables are disconnected from the device,

2. Press and hold both lock-button and home-button at the same time,

3. When the red "turn off" slider is shown, keep holding both buttons pressed,

4. When you see the Apple logo on the screen you can let go of the buttons,

5. Your device should now boot up and work as before.