iphone - Create a scrollable menu with UIImages representing each possible selection. These UIImages must be able to snap to the grid one by one -
I am trying to create a menu (using UIScrollView) where the user can select images (UIImageViews Using)
I intend that at least 3 images will be displayed at any time. When I scroll, the image will be able to snap in position.
However, if I am using a UIC scroll view that is enough to display 3 images at any given time, and I enable paging, paging all 3 images together Move and only snap to the next 3 images.
And if I'm using UIScrollView that only fits 1 image, and I enable the clipboard to turn (which pulls my images beyond the range of UIScrollView). My data gestures can be identified only in the UCcrollView, I want my data gestures to be searched until a picture is touched.
Thank you.
You can use the following method of UIScrollView to scroll with the code as you want.
You can call it UIScrowVuDeGet through the following method. In this way, you can manage how many scroll views you can call it. To get more touches, apply a different class that displays pictures (receives it from UIImageView or UIView) and applies touch or implementation touches in it here. If you get a contact in the custom view, call the parent to see some method and inform it with the appropriate arguments (You can specify the tagged property and you can specify the property Scroll can have a view of how the image was taped). ..... I'm not sure whether the weather is solving your problem or not .... If you need further assistance, then post here. - (zero) scrollRectToVisible: (CGRK) Animated Reset: (BOOL) Animated
- (zero) scrollViewDidEndDecelerating: (UIScrollView *) scrollView
Comments
Post a Comment