iPhone UIView: How do I animate the addition/entrance of a window's subview?
iPhone UIView: How do I animate the addition/entrance of a window's subview?
- Subject: iPhone UIView: How do I animate the addition/entrance of a window's subview?
- From: email@hidden
- Date: Thu, 08 Jan 2009 10:22:01 -0800 (PST)
Background:
@interface ScanView : EAGLView <AbstractViewProtocol, ScannerDelegate> <--- subclass of UIView.
---------
The following code is typical for loading the 'scanView' subView into its parent window:
[window addSubview:scanView]; // ...this is what I'm doing now.
The end result is a brief flash of void/black background before the view is displayed.
I want to avoid this by animating the appearance/entrance of 'scanView' before the user.
For example, sliding from the right --> left into view.
I'm not sure how to tackle this.
Any ideas would truly be appreciated!
Ric.
<I'm assuming that iPhone's NDA has ended, hence use of Cocoa Dev forum>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden