iPhone - having a Ripple effect on a UIImageView

前端 未结 5 1039
-上瘾入骨i
-上瘾入骨i 2020-11-30 06:54

I am attempting to create a ripple like effect on an imageView when it is touched down on, however I do not understand how to implement OpenGL for windows and porting it to

5条回答
  •  甜味超标
    2020-11-30 07:31

    Use below for ripple effect in iPhone

    [UIView beginAnimations:nil context:NULL];
    [UIView setAnimationDuration:1.0];
    [UIView setAnimationTransition:(UIViewAnimationTransition) 110 forView:view cache:NO];
    [UIView commitAnimations];
    

    For more effects you can check this link :

    http://www.iphonedevwiki.net/index.php?title=UIViewAnimationState

提交回复
热议问题