Will Apple replace my defective iPhone if it is out of warranty?
Generally Apple won't replace an iPhone out of warranty, but they often will if it's a genuine defect rather than wear or damage. Take it to an Apple Store or authorized repair center, be polite, describe the problem, and answer questions truthfully.