Apple Screen Time API is a hot mess. It’s definitely one of the most poorly documented APIs out there. I dare you to take a look at Apple’s documentation. While playing with it, I also found out - I wasn’t the only one - that some stuff such as the STWebpageController does not work correctly in the Simulator and you must use a real device.