

iOS does have an API for apps to record the screen throughout the OS these days through Broadcast Extensions, but it has to be user-initiated through the control center screen recording toggle (where they then get to pick what app to record the screen to instead of just saving as a video), it wouldn’t do that people think the T-Mobile app is doing
In Japan they have an IR beacon system to track traffic congestion which works anonymously and lets offline car navigation systems have good-quality traffic info.