Jump to content

IPhone simulator of SDK not functioning


4 posts in this topic

Recommended Posts

If you are using sampe code that is confirmed to work and it isn't, then there is an issue :s. A subview is essentially a view in a view. View based applications all have a window in the main xib file. Views can be added to this as needed.

 

In my case I added a subview called listNavigationController which as the name descibes was a navigation controller. I'm not familiar if you can do this completely through IB so I will look into that when I get the chance. It would make sense if you could add a view directly to the window by simply adding it in IB. If the code you are using adds a subview through code make sure that the connections made in IB are actually made.

- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Configure and show the window
[window addSubview:[listNavigationController view]];
[window makeKeyAndVisible];
}

 

iPoco

Link to comment
Share on other sites

 Share

×
×
  • Create New...