UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
imageView.image = [UIImage imageNamed:@"01.jpg"];
imageView.contentMode = UIViewContentModeScaleAspectFill;
imageView.clipsToBounds=YES;
[self.view addSubview:imageView];
网友评论