Skip to main content

All Questions

0 votes
1 answer
1k views

Dragging cell outside of UICollectionView frame changes its contentOffset

There's this bug happening when I drag a UICollectionViewCell outside of the frame of the collection: the collection's contentOffset is reset to 0, I suppose to scroll to top, even when dragging the ...
Lucas C. Feijo's user avatar
0 votes
1 answer
110 views

Drag And Swap Two UIScrollViews (Hover & Swap Effect)

I am creating a photo editor in my app and working on a multiple picture layout option. Currently when the user takes a picture, I display their image in UIImageView nested in a UIScrollView. The ...
Aggressor's user avatar
  • 13.5k
-7 votes
1 answer
87 views

how to Drag UIImage from scrollview to View

I create 5 Uiimage inside scrollview and want to Drag Uimage from scrollview to view to Back image (bottom) But I can't make it Anyone can help me for code or easy example please PS. I ...
Phongsathon Phorbun's user avatar
0 votes
1 answer
339 views

touchEvent for subview in UIScrollView

All, I have an issue and I have looked at all possible answers on StackOverflow (and other internet) but all solutions I try, nothing works.... I have a UIScrollView with a UIImageView as subview to ...
RobertvdBerg's user avatar
0 votes
1 answer
278 views

How to Drag/Drop objects inside a UIScrollView using a UIPanGestureRecognizer?

I've seen similar questions here, but I haven't seen a solid answer to my question directly. I have a UIScrollView that contains a UIImageView object. That view can be zoomed in to view more details ...
thephatp's user avatar
  • 1,489
1 vote
3 answers
3k views

Drag & Drop UIButton from UIScrollView to UIView in Objective C

I Want to add drag & drop functionality on UIButton. Actually I have created numbers of buttons programmatically under UIScrollView. I add following target on UIButton [mybutton addTarget:self ...
Rox's user avatar
  • 909
1 vote
0 answers
2k views

drag and drop subviews in scroll views like icons in ios home screen

I am creating an application in which the number of albums comes in a grid like apps come in home screen.I have implemented this functionality. My problem is I want to rearrange or drag and drop my ...
Gypsa's user avatar
  • 11.3k
5 votes
1 answer
593 views

Show indicators while programmatically scrolling UIScrollView

I am writing a framework which simplifies common (but sometimes tricky) drag and drop tasks in iOS. As part of this framework, when the user drags (and briefly holds) an object near the edge of a ...
Jon Hull's user avatar
  • 689
3 votes
3 answers
4k views

how to drag an uiimage from scrollview to another uiimageview in iphone sdk

In My Application,i am having one scrollVIew containing multiple images. and out of the scrollview i have one uiimageview. i want to Drag any image from ScrollView and drop it on uiimageview which ...
Steve Gear's user avatar
2 votes
1 answer
897 views

drag & drop image outside and inside a UIScrollView

In my project I'm having a scrollview with a view images inside. I'd like to drag them from my scroller to my View and counterwise. Is there someone who has some experience with this type of function....
BarryK88's user avatar
  • 1,806
1 vote
2 answers
4k views

Drag an UIImageView from UIscrollView to another view

I crawled all the web, but nothing. I have a for loop to create uiimageview inside a uiscrollview controller. It's a collection of images that you can scroll horizontally only. for (int i = 0; i <...
elp's user avatar
  • 8,091