Apple says that the law, in restricting Apple’s control, will result in more risk for customers.

Attention now turns to Washington, which has historically bristled at international governments regulating against its tech giants.