My project add a UIView with a button press. Is it possible to get the dashboard ripple-effect when the subview is added to the view?
Also the subview can be closed with: removeFromSuperview
. How can I get the closing effect of a dashboard widget (when you press on the x).
views:
236answers:
1
+2
A:
Warning: The ripple effect is undocumented so you can't use it in AppStore.
As of 3.1.2, you can use a ripple transition effect with
[UIView beginAnimations:@"transition" context:NULL];
[UIView setAnimationTransition:110 forView:myViewContainer cache:YES];
// add subview here.
[UIView commitAnimations];
KennyTM
2010-02-02 05:02:07
wow! nice. where did you find all the undocumented transitions?
CVertex
2010-02-02 05:07:25
@CVertex: http://iphonedevwiki.net/index.php/UIViewAnimationState
KennyTM
2010-02-02 05:08:26