Làm thế nào tôi có thể di chuyển một cái nhìn từ dưới lên trên vào mã của tôi:Moving UIView từ dưới lên trên
colorView.hidden=NO;
colorView=[[UIView alloc]init];
colorView.frame=CGRectMake(0,480,320, 480);
colorView.bounds=CGRectMake(0,200,320, 280);
colorView.backgroundColor=[UIColor greenColor];
colorView.alpha=1.0f;
[webView addSubview:colorView];
[self.view addSubview:webView];
[self createTransparentView];
Vậy làm thế nào tôi có thể thêm các hình ảnh động ở đây?
Bạn đã thử những gì? Bạn đã thực hiện nghiên cứu nào trước khi đặt câu hỏi này? – Sebivor
bạn có thể sử dụng CATransition trên lớp xem http://stackoverflow.com/a/23195924/1378447 –