unlockForConfiguration()
Releases exclusive control over device hardware properties.
Declaration
func unlockForConfiguration()Discussion
If you’ve previously locked a device by calling lockForConfiguration(), call this method when your app no longer requires preventing device properties from changing automatically.