Yeah, but like 0.1% of their user base really cares about that particular freedom, while the rest would end up installing Chrome because Google put ad-banners for it at the top of all the Mobile Safari search results, then be pissed off that their iPhone is suddenly working worse "for no reason". Un-American, I dunno, maybe, but specifically the freedom of being able to run a different browser engine on iOS does seem like one of those freedoms that would just make life worse for most people for minimal benefit. To boot, the main beneficiary would be a competitor, at the expense of not just Apple but everyone on the platform. It's not even like the main effect would be an improved consumer experience.
How does Apple loose in any way that I am allowed to run software on their devices? Especially free software like browsers. I mean doesn't that literally keep me as their customer more? Now that I'm not switching to an Android device where the land is greener.
I'd like to see that, but considering it's not possible to independently validate this because you can't run anything else than WebKit, we have to take Apple's word for it. And I'm not sure I can trust them in that regard, it's more about control than performance. They don't want PWA to become viable alternatives to their apps, and controlling WebKit with an iron grip is a way toward that end.
Using Safari over Chrome or Firefox gains me 90-120 minutes more battery on my Macbook. Android went through contortions and re-architectures for over a decade to even approach iOS' place on the performance/battery-capacity/battery-life chart. I used to be an Android user and wildly better battery life (especially idle—I gather it's better now but damn Android used to eat a lot of battery while doing nothing) is part of what got me to stick with Apple, when I tried their phones. I'm fairly sure mobile Safari—and so, Webkit—is more battery-friendly than Chrome or Firefox.
You can run other browsers. You can't run other browser engines. The way you win is that your uncle doesn't click a Google ad banner to install Chrome when he searches (in Safari) for golf club reviews and end up complaining to you that his iPhone suddenly has worse battery life because now his default browser is Chrome, and your 7-year-old doesn't accidentally end up on porn on their school-provided iPad because some kids' app developer put an entire browser engine in their app "to make cross-platform easier" and your kid accidentally found a bug that accesses the open web though this embedded browser, then clicked the wrong ad.
Your argument only makes sense if we grant that Webkit is always and forever the fastest safest most efficient and all round best browser engine there is. iOS users are denied the opportunity to have 3rd party developers even attempt to produce something better.
(googler, but i work on and far prefer iOS. i care about the platform and i wish it had actual browser engine competition)
I'd worry more about that being a problem if Chrome and Firefox weren't still noticeably lagging desktop Safari on power use. Yeah Firefox had that big announcement that they'd improved, but the news was that they'd... caught up to Chrome. Sigh.
FWIW I like Firefox or Chromium a hell of a lot better than Safari, except that both drop my Macbook's battery life by an hour or more versus Safari, and both feel heavier in terms of their effects on overall system responsiveness (the feeling I get is that Safari is way better at keeping JavaScript from stomping all over everything). I do use Firefox on Linux, if I'm on something beefy enough to use a really heavy browser and still be able to multitask.
For that matter, it'd be worth keeping other browser engines out if their integrations broke Apple's only-vendor-who-seems-to-give-a-shit accessibility features. I dunno, maybe iOS Firefox and Chrome already do, but I'd imagine forcing Webkit keeps people from embedding browser engines that screw with that. Which, again, wouldn't bother me if anyone else were half as good. Please, for the love of god, anyone, compete with Apple. No one is, right now.
Another aspect of this is that a JIT has to dynamically generate code to work: afaict, it's basically impossible to audit such a program to ensure that it only uses the public APIs it's supposed to use. Unless I'm wrong, the security of the Sandbox depends on such auditing being valid.
If the only embedded browser engine available, period, is Safari as provided by the OS, then it's much harder for app makers to introduce bugs (or features) that bypass Web content restrictions. Without the restriction app makers definitely would ship the equivalent of Electron apps—that is, apps embedding an entire browser engine, with the application built on top of it—to save a buck.
[EDIT] and by Safari I mean Safari's webkit, of course. You can embed webviews! You can run JS! You can ship your own browser! You cannot ship your own browser engine, for a bunch of very good reasons, and I'm having a hard time in this case of thinking of any nefarious reasons for the rule.
[EDIT EDIT] and then of course a browser engine is a giant attack surface. Better one version of one browser engine on your device than 20 versions of 3 browsers, most of which anyone but a turbonerd won't even realize are there because they're included with non-web-browser apps.
The platform looses if it is seen as virus, malware and scammy environment like Android and Windows.
In the case of Windows and the Mac, they are both insecure by design. You can’t have the functionality of either with the same level of security as the iPhone without reducing functionality. The best either can do is annoy users with pop ups that they eventually, reflexively just press OK.
I install all kind of random crap on my iPhone/iPad because there are more strict controls over what they can do. iOS aggressively kills battery and CPU intensive apps.
> I mean doesn't that literally keep me as their customer more? Now that I'm not switching to an Android device where the land is greener.
Apple charges $100 more for its cheapest phone than the average cost of an Android phone. Apple knows they aren’t going to get every customer.
In the famous words of Jobs - “if you want porn apps - buy an Android”. I’m not saying you want porn apps. I’m speaking to the fact that Apple knows it’s leaving some segment of the population out when it makes the choices it makes.