UIImage View reset/empty
ios, objective-c, uiimageview
Solution
-(IBAction)emptyImage{
imageView.image=[UIImage imageNamed:@"noimage.png"]; (OR)
imgview.image= nil; (OR)
imgview.image= [UIImage imageNamed:@""];
}
Problem
HI all I am developing an iOS app which allows the user to pick an image using UIImagePicker. Now I have to create the action that restores the UIIageView with no image inside. can anyone help me with code? ``` -(IBAction)emptyImage{ //code to empty the UIImageView } ```