What is the best way to use device orientation portrait and landscape

I scanned the forum and also in the test examples with no strickt answer to the question
how can i support game portrait and landscape device orientation. on iOS first
is there any kind of example or source or something i can see and learn
thanks !