Hi,
finding this a little strange, but I am in the process of making a tab view application for the ipad that has a scroll view on four tab pages.
in each of the tabs iv'e tried adding this code into each .h and ,m :
.h:
[COLOR="rgb(65, 105, 225)"] UIView *contentView;
IBOutlet UIScrollView *scroller;[/color]
.m:
- (void)viewDidLoad
{
[scroller setScrollEnabled:YES];
[scroller setContentSize:CGSizeMake(766, 2738)];
[super viewDidLoad];
}
I also made the proper connection in the xib file with the iBoutlet.
now, I attempted doing this on one project and it worked fine on the first two viewcontrollers. But when I added a third - it crashed, saying
terminate called after throwing an instance of 'NSException'
the SIGABRT shows up i the main.m:
[COLOR="rgb(65, 105, 225)"] int retVal = UIApplicationMain(argc, argv, nil, nil);
[/color]-
I've tried making new projects and doing a variety of things, but it seems like every time I add more than two UIScrollviews - it crashes.
Will be grateful for any support - thankyou