I don't think Apple has demonstrated more commitment to "building secure devices" than to "building a tightly walled garden to maximize leverage over developers and users".
Edit: grammar
They led the way on iOS with Sandboxing, Secure Enclave, forcing HTTPS, on-device ML, on-use permissions model, fingerprinting prevention. And TouchID/FaceID both were popularised on iOS and made simple and reliable enough to be used by tens of millions.
True, but that doesn't negate other intentions.
Lol, if I remember correctly Microsoft also used the "security" angle to defend their monopolistic behavior too.
It prevents you from dynamically compiling code at runtime which is a needed rule because otherwise apps would just run around the curation process.
> 2.5.6 Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript.
You can create browser engines without this feature.
I don't know the numbers but I imagine there are more iOS devices now than there were Windows PCs back in the 90s.