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
}
-(IBAction)emptyImage{
imageView.image=[UIImage imageNamed:@"noimage.png"]; (OR)
imgview.image= nil; (OR)
imgview.image= [UIImage imageNamed:@""];
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With