Wednesday, 21 August 2013

uitableview not responding to touches as a subview

uitableview not responding to touches as a subview

I've searched all over and googled but can't find an exact answer on this.
It seems quite simple and straight forward so I'm surprised this
particular issue hasn't been brought up more.
I have a uiviewcontroller that adds a subview of uiviewcontroller's view
as a side pull and pull down view feature.
I then have a UITableviewController view as another subview.
So the pull views sits on top of the tableview. The pull views responds to
touches just fine but the uitableview doesn't respond to any touches at
all. (See screenshot)
How can I pass touches to the uitableview?
Here is the code in the viewcontroller's view did load that implements the
subviews.
- (void)viewDidLoad
{
[super viewDidLoad];
allReports *ar = [[allReports alloc] initWithNibName:nil bundle:nil];
PullViewController *pvc = [[PullViewController alloc] init];
[self.view addSubview:ar.view];
[self.view addSubview:pvc.view];
}

No comments:

Post a Comment