Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-07-2009, 05:11 AM   #1 (permalink)
Corsu
Registered Member
 
Join Date: May 2009
Posts: 11
Corsu is on a distinguished road
Question Parent UIScrollview taking precedence over Modal UITableView upon scrolling

I have a main UIScrollView to scroll images - when the user clicks on an image, I'm pushing a new UITableView to display data for that image, etc.

I'm doing it with:

Code:
[self presentModalViewController:controllerTableView animated:YES];
The data in the table view display fine, etc and I can select a cell to even get more details, etc (using a Navigation Controller too obviously).

Problem is when I try to scroll the UITableView up or down - all the events are caught by the parent UIScrollView and then it just dismisses the table view and scroll to the next image, etc...

How can I have scrolling working on the current (and subview) table view (UITableView) and not the parent one?
Do I need to have the table view be the first responder? I did subclass UITableView and did override the touch events methods but this does not work - if I turn off scrolling on the parent scrollView, it no longer scroll obviously but I still can't scroll up or down in the table view ;(

I've done a lot of searching and tried a lot of things but I'm at wits end - would really appreciated some help. Am targeting 2.2.1 FYI.

Thanks in advance

--Franky
Corsu is offline   Reply With Quote
 

» Advertisements
» Online Users: 693
24 members and 669 guests
ADY, Ammad, ayesha25, baja_yu, bignoggins, coreyb, dacapo, djbrooks111, GHuebner, givensur, IOOIOIO, jeewan, jochimo, kapps11, kldmurshed, Kryckter, MarkC, mutantskin, Newbie123, nobre84, pipposanta, sacha1996, seecoolguy, wynonarr69
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,181
Threads: 93,920
Posts: 402,153
Top Poster: BrianSlick (7,967)
Welcome to our newest member, ayesha25
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.