22 Apr 2010
UIWebView fade animation tips
Say you want to fade between one UIWebView and another (as NetNewsWire/iPad does when switching articles, or going from article to web page or back). The first one fades to 0.0 alpha and then goes away. Two tips:
-
The first one — the one going away — should be on top. (It should fade away, revealing the webview beneath.)
-
It will look weird unless you set the background color of the first one (going-away-one) to UIColor clearColor.