UIImageView的基本使用

常用方法

self.newImageView =  ({
     UIImageView * imageView = [UIImageView new];
     imageView.image = GetImage(@"");
     imageView.userInteractionEnabled = YES;
     imageView.contentMode = UIViewContentModeScaleAspectFill;
     [self.view addSubview: imageView];
     
imageView;

});

你可能感兴趣的:(UIImageView的基本使用)