Apple has been accused in a new lawsuit of illegally monitoring its workers' personal devices and iCloud accounts while also barring them from discussing their pay and working conditions.

The complaint filed in California state court on Sunday by Amar Bhakta, who works in digital advertising for Apple, claims the company requires employees to install software on personal devices that they use for work allowing Apple to access their email, photo libraries, health and "smart home" data and other personal information.

At the same time, the lawsuit alleges, Apple imposes confidentiality policies that prohibit employees from discussing working conditions, including with the media, and engaging in legally-protected whistleblowing.