I still can't believe this policy by Apple. Google and other developers have to literally change their software in order to be able to publish it on appstore.
They are going great lengths to prevent dynamically changing apps.
Also this is one way they can enforce itp and variants on webviews so from their pov, it makes sense I suppose.
Firefox on iOS has the switch accessible easily. Bottom right (hamburger menu) > enable night mode. It has a couple bugs but works fine 95% of the time.