Skip to main content

All Questions

0 votes
1 answer
237 views

UIGestureRecognizer not called after setting UIViews frame inside UIScrollView

i am having some very strange issue. Basically i am implementing a drag and drop view with a snap to the horizontal 1D grid. Well, so when i drag a view and its center coordinate X is bigger or ...
Martin Mlostek's user avatar
0 votes
1 answer
194 views

UIView drag drop with replace feature [iOS]

I'm trying to do two main views (dropped zone) and two sub views (dragged views) with replacement feature with Move/Drag Gestures, an example: UIView *mainView; mainVire.dropped = YES; this let ...
SimpleojbC's user avatar
1 vote
1 answer
544 views

ios drag and drop subview only working once

I have UIView in which I want to be able to drag and drop subviews, and this is working fine once. - (void)pan: (UIPanGestureRecognizer *)recognizer { if (recognizer.state == ...
AlanL's user avatar
  • 636
2 votes
1 answer
571 views

How to Drag/Drop a UIView (e.g. UIImageView) to a cell in a Table in iPhone/iPad

I already have the dragging and dropping of a UIImageView to another UIImageView but now I need to be able to drag/drop a UIImageView (that is situated beside a Table View) inside the Table View. So ...
gilsaints88's user avatar
  • 1,160
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
9 votes
2 answers
8k views

Drag UIView between UIViews

I have a UIView object X that is contained in an UIView object A. I want to be able to touch X and remove it from object A and move it into object B (another UIView). Both Object A & B are inside ...
Kendall Hopkins's user avatar