Apple has said sorry to iPhone customers whose phones were disabled after third-party repairs, and issued a fix for the problem.

A software update has now been released so that iPhone customers with disabled phones may restore their device via iTunes on a PC or Mac.