UpsideDown View

Discussion in 'iOS Programming' started by loon3y, Oct 24, 2011.

  1. loon3y, Oct 24, 2011
    Last edited by a moderator: Oct 24, 2011

    loon3y macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #1
    I've been trying to enable upside down view on Xcode, but I've been having a hard time.



    heres the code


    Code:
    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
    {
        // Return YES for supported orientations
        return YES;
    }


    can anyone help? I'm trying to enable all views.
     
  2. loon3y thread starter macrumors 65816

    loon3y

    Joined:
    Oct 21, 2011
    #2
    noob mistake, my app was tab based, and i didn't enable all modes in the other .m file lol.
     
  3. KoolStar macrumors demi-god

    KoolStar

    Joined:
    Oct 16, 2006
    Location:
    Kentucky
    #3
    That would be correct in a tab bar all views that are in the tabbarcontrollers view controller array much support the orientation that you are trying to achieve.
     
  4. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State

Share This Page