I had this problem today flying my P4A with an IPad mini 4. Regular screen blackouts and it would go green as the camera image came back. Antennas were in the correct position, latest firmware loaded, landed and restarted everything with a different battery, tried a different lightning cable...