Chosen Solution

My phone died one night and since then whenever I turn it on the apple logo will come for 40 seconds then just shut off. I tried to force shut it down, charging it and nothing works.

i took it to the apple store and they said it happened because I didn’t update it.