Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to remove object from View?
Good day.
This is how I create the object:
-(void)CreateObject {
CGRect SQ = CGRectMake (...);
UIImageView object = [[UIImageView alloc] initwithFrame:SQ];
[self.view addsubview: object];
}
Answer the question
In order to leave comments, you need to log in
-(void)CreateObject {
CGRect SQ = CGRectMake (...);
UIImageView object = [[UIImageView alloc] initwithFrame:SQ];
[self.view addsubview: object];
[object removeFromSuperview];
object = nil;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question