iPhone SDK - Implement Tap to Scroll feature on ImageScrollView
- by NobodyNobody
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