Apple has used its Worldwide Developers Conference to unveil iOS 14 which features a new digital key function.

Designed to give iPhone and Watch owners an easy and secure way to access their vehicle, the digital key can be used to unlock and start compatible models.

When the digital key launches later this year, first on BMW vehicles, it will use near-field communication (NFC) technology to enable users to ‘tap’ their phone near the door handles to unlock the car. Users can then place their iPhone in the smartphone tray and start the engine.

Also Read: Apple’s CarKey Feature Will Turn Your iPhone And Watch Into A Digital Key

Since drivers are no longer required to have a physical key, it allows owners to easily share their car with friends and family. BMW says up to five people can be granted access and the owner will be able to restrict their car’s horsepower, top speed and maximum radio volume setting – among other things.

The digital key promises to be secure and function up to five hours after an iPhone shuts off due to a low battery. BMW will also offer a wide range of support as “1, 2, 3, 4, 5, 6, 8, X5, X6, X7, X5M, X6M and Z4” models manufactured after July 1st, 2020 will support the digital key in 45 countries. Of course, you’ll also need a relatively new Apple device including an iPhone XR, iPhone XS or newer. The digital key can also be used on the Apple Watch Series 5 or newer.

Apple also confirmed they’re working on the next-generation digital key which uses Ultra Wideband technology for “spatial awareness delivered through the U1 chip.” That doesn’t sound too interesting, but it will allow people to unlock their car without first removing their iPhone from their pocket or purse. It will be available next year and we’ll likely hear more about it closer to launch.

In other news, BMW and Apple announced “smart routes” for electric vehicles using Apple Maps. Drivers can use Apple CarPlay to select a destination and Apple Maps will then “pick the optimal route based on electric range and the locations of charging stations along the way.” The new feature will be launched on the upcoming BMW i4 which arrives next year.