Content: I stored the image from the iPhone's camera into a UIImage *storedImage defined in ClassA.
In ClassB (subClass of ClassA) I have a UIImageView *imageView which I proceeded to set
UIImageView.image = storedImage
since ClassB has access to ClassA's objects.
Problem: Stored image does not show when ClassB's nib runs and I just can't figure out why.
Thanks in advance!
We need more source code. have you initialized the UIImageView?
Have you tried using setImage property of UIImageView ?
Also more basically, have you added the UIImageView view to the current view?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.