• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [iPhone] customizing UIView animation run background color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [iPhone] customizing UIView animation run background color


  • Subject: Re: [iPhone] customizing UIView animation run background color
  • From: Tharindu Madushanka <email@hidden>
  • Date: Wed, 18 Nov 2009 05:35:52 +0530

This is the method I use to switch views. And my views are created with
Interface Builder

- (IBAction)switchViews {
   self.view.backgroundColor = [UIColor blackColor];
   [UIView beginAnimations:nil context:nil];
   [UIView setAnimationDuration:1.25];
   [UIView setAnimationCurve:
   UIAnimationCurveEaseInOut];

   [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft
forView:self.view cache:YES];
   [self.view exchangeSubviewAtIndex:1 withSubviewAtIndex:2];
   [UIView commitAnimations];
}

I cannot guess why its white bacground when animation runs :( Could any one
guess why is it ?

Thank you.
-Tharindu
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: [iPhone] customizing UIView animation run background color
      • From: Tharindu Madushanka <email@hidden>
References: 
 >[iPhone] customizing UIView animation run background color (From: Tharindu Madushanka <email@hidden>)
 >Re: [iPhone] customizing UIView animation run background color (From: Luke the Hiesterman <email@hidden>)
 >Re: [iPhone] customizing UIView animation run background color (From: Tharindu Madushanka <email@hidden>)

  • Prev by Date: Re: How to stop NSScrollView from scrolling to top when horizontally resizing contained NSTextView?
  • Next by Date: Re: [iPhone] customizing UIView animation run background color
  • Previous by thread: Re: [iPhone] customizing UIView animation run background color
  • Next by thread: Re: [iPhone] customizing UIView animation run background color
  • Index(es):
    • Date
    • Thread