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 10-21-2009, 03:35 PM   #2 (permalink)
sbudhram
Registered Member
 
Join Date: Oct 2009
Posts: 18
sbudhram is on a distinguished road
Default

So, a little more info, but no solution.

First, I tried subclassing the scroll view to access the touchesBegan/touchesEnded/touchesMoved methods, and just using NSLogs to make sure they were being called. Which they were! I could see that dragging/pressing was triggering the methods for my subclass.

However, if I pressed on something within my scrollview like a button, these methods were NOT called (including my picker). I'm guessing this is because they implement their own touch methods that get precedence over the scrollView. So, next I tried to subclass the picker and use the touchesBegan/Ended methods. No luck, they are not being called. And on top of that, dragging in the picker still triggers the scrollView, though it doesn't trigger the scrollView's touchesBegan/Ended methods that I implemented.

Still looking for a solution. If there are any event handling gurus out there, please speak out!

Thanks.
sbudhram is offline   Reply With Quote
 

» Advertisements
» Online Users: 537
24 members and 513 guests
alexonit, Brian965, Bryan1, coolman, DaveDee, denicevh18, devno, dljeffery, Duncan C, Hassasin, inkcpp, ipodphone, Kirkout, Kryckter, leostc, mer10, mpsventas, Newbie123, newprogrammer, Simba, Speed, timle8n1, t_hgezhong, zin
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,316
Threads: 93,989
Posts: 402,429
Top Poster: BrianSlick (7,978)
Welcome to our newest member, Simba
Powered by vBadvanced CMPS v3.1.0

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