Ios splash screen only portrait

Hi there,
I need to know how to force my ios app to ONLY start in Portreit view, while I still have support for landscape checked, because my menue needs to be rendered in portrait initially on start. When I Check them and start my app while holding the iphone sideways, my app crashes. Is there any objective c code or setup to do?