iPhone 6, backlight works, but display appears black.

Recently I tried to change my screen, and when I tried turning on the screen, it wouldn’t. The backlight didn’t work either, so I tried different screens, without any luck. After resetting the phone, suddenly the backlight started functioning again, but it wasn’t constant, and the screen still remained black.
What can the problem be?