Kaz
Kaz

Reputation: 1466

how to use UIImageView in iphone application development?

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

Answers (2)

Kaz
Kaz

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

ColdLogic
ColdLogic

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

Related Questions