Apple has pledged to warn iPhone owners if a software update is likely to slow down the device or affect battery life.
The Competition and Markets Authority (CMA) in the UK had expressed concerns in 2017 that people had not realised an operating system update could affect the performance of the phone.
It was concerned that iPhone owners had been repairing their devices or replacing the batteries unnecessarily.
It can now take court action if Apple does not comply.
The CMA added that by signing up to this commitment to greater transparency, Apple was bound by it.