Apple has released an urgent update for all iPhones and iPads after admitting a vulnerability in its iOS operating system.

Cyber security experts say the flaw makes it possible for someone to hack a device simply by getting people to click on a link from it.

Apple says it released the update as soon as possible which once installed will fix the vulnerability. It is urging all iPhone and iPad users to install immediately.

The update states: "iOS 9.3.5 provides an important security update for your iPhone or iPad and is recommended for all users".

You can install it by clicking on Settings on your device, then selecting General, then Software Update, and finally clicking on Download and Install.

For the cheapest and most secure gadgets, check out our Cheap Mobile, Cheap iPhone and Antivirus Security guides.

Additional reporting by the Press Association.