This problem occurs when the connection is not accurate. So, make sure the iPhone is connected either through Wi-Fi or through cable. If the signals are distorted or the cable is damaged, the connection will be lost.