iPhone SDK - Implement Tap to Scroll feature on ImageScrollView
Posted
by NobodyNobody
on Stack Overflow
See other posts from Stack Overflow
or by NobodyNobody
Published on 2010-04-15T08:21:18Z
Indexed on
2010/04/15
8:23 UTC
Read the original article
Hit count: 542
SDK: xCode 3.2
Device: iPhone 3GS OS 3.13 / iPad
Case:
In Apple Sample Library [ScrollViewSuite]. The [2_Autoscroll] project.
In [ThumbImageView], We can drag and drop to scroll the view. So that we can see any menu item by touch the screen and do moving.
How to implement this feature in [TagDetectingImageView] ?
I have try to copy [touch event] function from [ThumbImageView], modify it and implement to [TagDetectingImageView]. (Just rename the [ThumbImageView] to [TagDetectingImageView] inside those function)
But when i touch and move on the [TagDetectingImageView], the view will moved out of the screen (Don't know where is it)
Source - Please find the 2_Autoscroll source code in:
http://developer.apple.com/iPhone/library/samplecode/ScrollViewSuite/Introduction/Intro.html
Thanks
© Stack Overflow or respective owner