Quote:
|
you don't have to. if you create them in IB you just need to make sure you have outlets for both of them.
|
I do.
Quote:
animate frame change to make the view "disappear"
then set the new content in the existing view (which is hidden)
animate another frame change to make the view "appear"
|
I got this code working:
Quote:
- (void)fadeScreen
{
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.75];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(finishedFadi ng)];
qTextView.alpha = 0.3;
aTextView.alpha = 0.3;
[UIView commitAnimations];
}
- (void) finishedFading
{
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.75];
qTextView.alpha = 1.0; seconds
aTextView.alpha = 1.0;
[UIView commitAnimations];
}
|
Which just does a fade in / fade out. I'll probably try something more difficult in a bit. Thanks for the tips jsd!