no longer true everywhere because in some places around the world, laws have forced Apple to change this
Just a few days ago I posted this article https://open-web-advocacy.org/blog/how_apples_key_tactic_could_prevent_japans_smartphone_act_from_improving_browser_competition/ on Lemmy where you can read more about the current state.