How to unlock my iphone 5 as I forgotten the passcode?

So now the problem is that I forgot my passcode and now my iphone is locked up to now. Can anyone explain to me how do I unlock my phone? And if like what my father said that all the memory will be lost is there any way to prevent memory loss?

I took mine to the apple store and they told me I had five minutes to try to remember the passcode and I remember it so they unlocked it and I'm useing it now I say if you remember what the passcode is take it to apple if you don't then you have to restore it and everything will go away but there's a thing called icloud that will put all the music and apps back on.everything else is gone it is completely erased I know because the same thing happened to my iPod so I have done this more then once

  • Will restoring my iPhone on my iTunes unlock my forgotten passcode? I put a new passcode on then stupidly forgot it and nkw I can't get in because i'm getting it wrong. I've read to restore it on the computer which I'm doing now but i'm scared it won't work. What do I do if it doesn't? And will it work?
  • Is tbere any major différence between thé iPhone 6 and the 6s? Whooppeee is Xmas again and my daughter wants new 2nd hand) iPhone… 2 years ago almost bought her 5 before i réaliséd that it was 5s she wanted ( cos thé 5 sucks?) And I don't want to screw up this year…
  • IPhone won't restore? Forgotten passcode? I forgot my passcode for my iPhone 4s. I have tried to restore it, but it keeps saying that the phone has a passcode on it and and you need to get rid of it before you can restore it. But because I have forgotten the passcode, I can't do it this way. But when ever I try and do it through DFU mode, the same message still comes up half way through 'extracting files'… Any other ways?
  • Iphone 4s passcode forgotten? I have an phone 4s and yesterday evening I turned on the passcode and yesterday I came home ad tried to log in into the mobile and I forgot my passcode. I tried several times and then finally the mobile said connect to itunes and with big letters on top of it Iphone disabled What I'm going to do? I want to use recovery mode but i don't know how. Please send me information or pictures or videos… Please