iPhone orientation....

Discussion in 'Mac Programming' started by sujithkrishnan, Jun 10, 2008.

  1. macrumors 6502

    Joined:
    May 9, 2008
    Location:
    Bangalore
    #1
    Hi all...


    I just want to know how to change the view of my application on changing the device orientation???

    Code:
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
        return YES;
    }
    I made use of this method... still the application is in portrait view all time...
     

Share This Page