For years Apple has placed deliberately crafted limitations on 3rd party apps that put theirs at an advantage. They've done anything but treat developers fairly. If they did, maybe this legislation was unneeded, but with the way they've been acting, it feels like a long time coming.
Edit: self plug: https://boehs.org/node/private-apis