Upcoming Apple devices will be able to understand conversations and recognise faces
Apple is introducing more artificial intelligence to the iPhone and iPad, with devices now able to understand conversations and recognise faces in photos.
The technology giant's virtual assistant Siri has been given a major update that now means it can use machine learning to predict words you plan to use in text conversations as well as find faces in your photo albums.
Apple chief executive Tim Cook opened the keynote at the WWDC conference in San Francisco by paying tribute to the victims of the Orlando shootings, saying Apple offered its "deepest sympathies to everyone whose lives were touched by the violence".
He then led a moment's silence before the event began.
As part of the iOS 10 update revealed at the event, it was also announced that Apple Music, the firm's streaming service, will be getting a complete re-design.
The app has been previously criticised for being too complicated to use. Now music has been reorganised.
It was also revealed the company is renaming its desktop software macOS, as well as adding Siri to its desktop computer software for the first time.
Users will also now be able to pay for items using Apple Pay from their desktop computer.
An extensive update to the Messages app was also demonstrated on stage, with emojis made three times larger on-screen, as well as a new ability to replace words with emojis in text if there is a relevant option.
The app has also been opened up to developers for the first time, meaning other apps can now use Messages - examples shown included being able to send money to someone as well as place a food order via a restaurant app from within Messages.
Messages can now also be resized and animated in order to add different sentiments, while handwritten notes can now also be sent for the first time.
Full-screen animations can be applied to conversations too.
iOS 10 will become available to the public in the autumn as a free upgrade, Apple confirmed.
A new app to control internet-enabled smart home products from one place was also announced.
Called Home, the app enables users to create different settings for their various activities around the house - for example pressing the 'goodnight' option will turn off all appliances for the evening.
Apple's Craig Federighi also reiterated the firm's commitment to user privacy, saying the company would continue to encrypt the data on its products, following the company's stand-off with the FBI over access to data on the phone of a terror suspect.
Closing the keynote, Mr Cook said that "technology should lift humanity" and that the update across Apple's four platforms was a "huge moment" for the company.