Launch App in PortraitUpsideDown gives translation problems

Discussion in 'iOS Programming' started by BarryK88, Mar 14, 2011.

  1. BarryK88 macrumors member

    Joined:
    Mar 1, 2011
    #1
    I've got several images within my view. On rotation my images are being placed properly by means of a CGAffineTransformTranslate & Rotate.

    However when I launch in PortraitUpsidedown a translation takes place which I defined wihin the method:


    Code:
    -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
    This translation only has to take place on a orientation change with the device. How can I make sure that this translation doesn't happen on Launch?
     
  2. BarryK88, Mar 14, 2011
    Last edited: Mar 14, 2011

    BarryK88 thread starter macrumors member

    Joined:
    Mar 1, 2011
    #2
    Still didn't figure this one out.

    Here's a piece of code of my project.


    Some tips are greatly appreciated.
     

Share This Page