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
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
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
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:
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