The iPhone does not respond after startup, just a black screen

Logging out of iCloud on my device and logging back in was the solution for me.