ImageView In Programmatically(Dynamically)

Published on Author bloggerten

UIImageView *imageView=[[UIImageView alloc]init];
[imageView setFrame:CGRectMake(0, 30, 110, 100)];
[imageView setImage:[UIImage imageNamed:@”wood-box.png”]];

[self.view addSubview:imageView];

Comments

comments

Categories IOS