How to lock orientation only for splashscreen on iOS?

My app can be in landscape in some pages, but I want the splashscreen to be locked in portrait only.

I’ve tried changing config.xml to:

<preference name="Orientation" value="portrait"/>

But this will lock all my pages, even though it called unlock for those pages.


Anyone know how to do that?

Hmm, I dont think this is possible to be honest, or at least as far as I know.