Reputation: 1466
i have dragged a UIImageView
into a view and created an IBOutlet
object in the header file of the UIViewController
.
In the Image View Control, I chose the image from the properties window, but when I launch the application, it does not show the image!
How can I fix this?
Upvotes: 0
Views: 401
Reputation: 1466
Thanks all for your help. I think the problem was with some image files that wont be displayed!! I resaved them and it's working now.
Thanks again
Upvotes: 0
Reputation: 7265
Sounds like you need to connect the UIImageView to your IBOutlet. Ctrl+Click your UIViewController under the objects pane and drag the line to the UIImageView. Let go and connect it to the object.
Upvotes: 1