cocoaTouch/otherSrc/CommodityFunctions.m
changeset 3405 8fdb08497bf1
parent 3385 361bd29293f4
child 3479 972ae3ec178a
equal deleted inserted replaced
3404:d445798e5fe2 3405:8fdb08497bf1
    42     [theTeam release];
    42     [theTeam release];
    43 }
    43 }
    44 
    44 
    45 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation) {
    45 BOOL rotationManager (UIInterfaceOrientation interfaceOrientation) {
    46     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
    46     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
    47         return (interfaceOrientation == UIInterfaceOrientationLandscapeRight) || (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
    47         return YES;
    48     else
    48     else
    49         return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
    49         return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
    50 
    50 
    51 }
    51 }
    52 
    52