0

I want to make a button; when you press it the screen fades to a "flash of white" and back like in those powerpoint transitions.

I'm thinking maybe dynamically changing the opacity of a white square or something?

What do you think?

Is there something like this that already exists like part of Catransitions or something?

Thanks guys.

4

1 に答える 1

4

のようなものを試してください

self.view.alpha = 0.0;
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.75];
self.view.alpha = 1.0; 
viewController.view.alpha = 1.0;
[UIView commitAnimations];
于 2010-04-08T05:23:53.110 に答える