How should I load a xib into a detail view for a split view iPad objective app?
Posted
by editor
on Stack Overflow
See other posts from Stack Overflow
or by editor
Published on 2010-06-08T06:21:48Z
Indexed on
2010/06/08
14:52 UTC
Read the original article
Hit count: 476
I've got a split view iPad app with table view in the master pane. After drilling down several levels, each time loading a new .xib, I'd like one of the cells to trigger a web page load in the detail pane. Right now I can only get the web page .xib to load in the master pane side -- which is a master pain in my side.
The basic load call where "URLWindow" is a class loaded with initWithNibName:
[[self navigationController] pushViewController:URLWindow animated:YES];
I want to do this, but it doesn't seem to work:
@interface
@property (nonatomic, retain) IBOutlet DetailViewController *detailViewController;
...
@implementation
[[self detailViewController] pushViewController:URLWindow animated:YES];
How should I be loading the URLWindow .xib into a detail view for a split view detail pane?
© Stack Overflow or respective owner