首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 平面设计 > 图形图像 >

UIImageView 从左到右出现的卡通片效果

2012-10-05 
UIImageView 从左到右出现的动画效果UIImageView *imgView [[UIImageView alloc] initWithFrame:CGRectMa

UIImageView 从左到右出现的动画效果

UIImageView *imgView =[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 0, 460)];    [imgView setImage:[UIImage imageNamed:@"pagethr.png"]];    self.imageViews = imgView;    [self.view addSubview:imageViews];    [imgView release];        CGContextRef  context = UIGraphicsGetCurrentContext();    [UIView beginAnimations:nil context:nil];    [UIView setAnimationCurve:UIViewAnimationCurveLinear];    [UIView setAnimationDuration:0.75];        [imageViews setFrame:CGRectMake(0, 0, 320, 460)];    [UIView commitAnimations];
?

热点排行