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 09-27-2009, 02:48 AM   #20 (permalink)
anuragphadke
Registered Member
 
Join Date: Jul 2009
Posts: 9
Default

Scott,
I am trying to implement what you said.. Here's my code
I added a hittest method in my ScrollView
Code:
-(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
	scrollView.delaysContentTouches = YES;
        return self;
The above code allows me to detect all my touches in UIScrollview. For eg:
Code:
-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
	NSLog(@"touch moved");
}
However, I can no longer perform any swipe, scroll or any other gesture in my WebView class implemented inside UIScrollView.

without
Code:
return self
everything works but I cannot recognize any gestures.

Any tips?
anuragphadke is offline   Reply With Quote
 

» Advertisements
» Online Users: 363
16 members and 347 guests
ADY, apatsufas, Dani77, Dattee, dcool, Desert Diva, HDshot, HemiMG, ilmman, leahov, mer10, michelle, nobre84, Raffaello, Robiwan
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,222
Posts: 380,724
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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