Hi, I've found a solution tested it a got it sorted. I bought my5s which was delivered on Monday, backed it all up from my old 4 content then tried to update to ios7.0.4 (hardwire) which screwed everything up.
First I entered my wifi code the connected to back up from earlier phone. 7.0.4 it failed hard wire so I left it and everything was all fine until I tried again wirelessly later...
Off to work, no connection for days and no solution either! Grrrrrrr grrrrrr, grrrrr!!!!
Tried all the optioned mentioned here then elected to settings>> general >> reset >> 'reset network settings' which worked fine, on one condition!!!! DONT RE-ENTER ANY WIFI CODE -if you do you are back to square one!
Luckily I'm on an unlimited data contract, but lots of people are - so if you are I'd suggest keeping a list of wifi codes for your most common wifi links - and keeping it empty otherwise, so Apple I was about to ditch my iPhone for a Samsung, so was my wife and three kids, if you feel grateful let me know and I'll let you know what they'd appreciate (together) as a little Chrismas present, lol I can wish I suppose....
Anyway that's an hour of life I won't get back, but hopefully I will help lots of fellow Apple users (and the developers too),
Cheers all and merry Christmas when it come, or whatever your celebration might be, ;))
Christian, Felixstowe, England