[iPhone] customizing UIView animation run background color

2009-11-17 Thread Tharindu Madushanka
Hi I am using following method to flip between UIViews that have imageviews on it as background. When I animate the views. I could see white background color at animating time. Can I change this color. What I currently do is like this. [UIView beginAnimations:nil context:nil]; [UIView

Re: [iPhone] customizing UIView animation run background color

2009-11-17 Thread Luke the Hiesterman
self.view.backgroundColor = [UIColor blueColor]; //cause why not blue? Luke On Nov 17, 2009, at 7:32 AM, Tharindu Madushanka wrote: Hi I am using following method to flip between UIViews that have imageviews on it as background. When I animate the views. I could see white background

Re: [iPhone] customizing UIView animation run background color

2009-11-17 Thread Tharindu Madushanka
before animation I have set the background color but it did not work. Still it was white even I set it to black. it seems like color is not coming from self.view ?? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: [iPhone] customizing UIView animation run background color

2009-11-17 Thread Tharindu Madushanka
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:

Re: [iPhone] customizing UIView animation run background color

2009-11-17 Thread Tharindu Madushanka
ah Thanks :) self.view.window.backgroundColor worked but I did not try superview thing. Thank you -Tharindu ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the