Hi All,

I have two UIView's in Interface Builder in separate .xib files. The first .xib file looks like this:

File's Owner                                            ViewControllerX
First Responder                                 UIResponder
MainView                                                UIView
        ImageView (Image1.jpg)          UIImageView                     (Inside 
UIView)
        Rounded Rect Button                     UIButton                        
                (Inside UIView)
        Table View                                      UITableView             
                (Inside UIView)
        Rounded Rect Button                     UIButton                        
                (Inside UIView)

When I run this and call up the View all works as intended, the Image, Buttons and the Table all display and interact correctly.

The second .xib file looks like this:

File's Owner                                            ViewControllerY
First Responder                                 UIResponder
View                                                    UIView
        ImageView (Image1.jpg)          UIImageView                     (Inside 
UIView)
        Table View                                      UITableView             
                (Inside UIView)

However, when I run this and call up the View, the Table displays ok, but the image doesn't show up at all!

I've compared all the properties (outlets etc.) and as far as I can see, the two views are hooked up in the same way but it just doesn't display the image. I am using the same source file for the two images (Image1.jpg) and this file is inside the XCode Project. Both views display just fine in Interface Builder.

The second View is called up via a user click on a table view item from the First view and is just pushed onto the Navigation Stack in the normal way.

Is there something else I need to do? I'm trying to get this ready for a demo tomorrow and it would be nice if I could get the image to display!

Thanks in Advance for any help.
All the Best
Dave



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to