一般情况下有两种写法:
1、 self.iconView.imageView.image = [UIImage imageNamed:question.icon];
2、[self.iconView setImage:[UIImage imageNamed:question.icon] forState:UIControlStateNormal];
因为文档中imageView的属性是只读的所以1没有作用
@property(nullable, nonatomic,readonly,strong) UIImageView *imageView NS_AVAILABLE_IOS(3_0);