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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-06-2009, 10:48 AM   #18 (permalink)
anils_das
Registered Member
 
Join Date: Jul 2009
Location: India
Posts: 51
Send a message via Skype™ to anils_das
Default

in 3.0 sdk this is not working. I think this is the issue


Issue: Touches are no longer forwarded to a UIScrollView in 3.0.

Calling touchesBegan/touchesMoved/touchesEnded/touchesCancelled methods directly is not supported. Previously, all touches in subviews of a UIScrollView were hit tested to the UIScrollView itself, which then attempted to forward the touches to the correct content view. This often resulted in the UIScrollView having its touchesBegan/touchesMoved/touchesEnded/touchesCancelled methods called twice for each event. In 3.0 this is no longer the case, and UIScrollView now behaves the same as every other UIKit-provided view. Whichever content view was actually touched is returned from hitTest, and if that view implements the UIResponder touch methods and doesn't call super, then the responder methods for UIScrollView will never get called. Instead, use touchesShouldBegin:withEvent:inContentView: or touchesShouldCancelInContentView:.


how can we solve that?
__________________
anil
anils_das is offline   Reply With Quote
 

» Advertisements
» Online Users: 553
20 members and 533 guests
AppHunter, BravadoWaffle, brianmethod, Dani77, Dominus, flamingliquid, GameViewPoint, Gudus, hanna1gerd, HemiMG, jakerocheleau, JasonR, mer10, observer247, Oral B, rrlemoine, sherlopez1, sly24, Touchmint, tymex
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,748
Threads: 89,202
Posts: 380,573
Top Poster: BrianSlick (7,129)
Welcome to our newest member, hanna1gerd
Powered by vBadvanced CMPS v3.1.0

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