When running in simulator, I can set the gutter width by subclassing UISplitViewController, and doing something like this:
(void)viewDidLoad {
_gutterWidth = 2.0;
self.view.backgroundColor = [[[UIColor alloc] initWithWhite:0.2 alpha:1.0] autorelease];
[super viewDidLoad]; }
That works great, except that it won't link when I try to deploy to device. This is the error message:
Undefined symbols: "_OBJC_IVAR_$_UISplitViewController._gutterWidth", referenced from: _OBJC_IVAR_$_UISplitViewController._gutterWidth$non_lazy_ptr in TOSplitViewController.o ld: symbol(s) not found collect2: ld returned 1 exit status
Any ideas? Thanks!