Does Apple repair iPhones if I go to the Apple Store?

I'm going to be going to an Apple Store at the weekend. I have a problem with my phone (iPhone 5) where if i shake it, there's a rattling sound, this is coming from the focus lens AND my loose battery. I know how to 'fix' the battery(Squeeze the phone across the back area), but that only lasts for a couple of days. I'd prefer a permanent fix. Anyway, If i go into the store is there help I can get from the staff as to where they can help me/fix my phone? Thanks in advance.

Added (1). I have warranty. Does that take away the original cost of repair?

OF course. IT is not cheap though…

It did for me! My iphone broke and I went to the apple story and they repaired it. You can also go to the place where you got it like Sprint, T-Mobile, Verizon. I recommend going to Sprint or wherever you got it instead of the apple store

  • Will the Apple store repair my Iphone 5? Hi, about a month ago I was walking & it started to rain. I guess my phone got wet and my power button no longer works. It is quite annoying as i have to press it numerous times in order for it to work. If brought into the Apple store would they be willing to fix it? Or would it be ruled off as water damage?
  • Will Apple Retail stores repair IPhones that won't charge? Yes I did ask this question before but i left out something very important. My IPhone isn't with a company. A friend gave it to me as a present and my parents haven't really argreed to turn it on yet. I don't have a warranty on my phone. Is it possible that they might still fix it? I've basically been using it as an IPod or something.
  • 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…
  • Is it ok to bring jailbroken iphone 4 to the Apple Store for screen repair? My the lens on back camera on the iPhone 4 is scratched and it produces foggy images. I would like to have it fixed. Apple said they can replace the back screen for $30. My iPhone is jailbroken. Should I be worried about bringing the jailbroken iPhone to Apple for hardware repair?