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
0 answers
458 views

Adding drag & drop on UIView on long press in ios?

I am have a UIView on which i want to Implement Drag & Drop feature.I have tried using Pan gesture in that case i am able to drag the view on screen but i am not able to get that drag & drop ...
TechChain's user avatar
  • 8,784
0 votes
1 answer
273 views

Drag drop colors on a png image

In an iOS application. I want to drag and drop images on my UIImageView where i have placed a png image. I just want these colors inside the image but not in transparent area. Attached images can ...
Mashhadi's user avatar
  • 3,014
0 votes
1 answer
105 views

Drag an imageview item on UITableViewCell

I need to drag on ImageView to a UITableView. I have implemented the dragging but now I need to determine the cell on which the image view is dragged and dropped. I can get the visible cells but than ...
Ankit Srivastava's user avatar
0 votes
1 answer
103 views

Trigger an event when a UIButton is dragged to a certain point of the screen? Objective C

How would I trigger an event when a draggable button is dragged to a certain point on the screen? UIButton *btn1 = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [btn1 setFrame:CGRectMake(10.0f, ...
Blake Loizides's user avatar
0 votes
1 answer
424 views

Dragging an view in limited boundaries not beyond that

After googling a lot and still not finding any solution, I am asking a question. My question is:- I want to drag my view in a particular area, beyond that, I do not want my view to drag but it should ...
Gypsa's user avatar
  • 11.3k
1 vote
2 answers
262 views

Touches Ended for Multiple Images

I have a application in which I drag and drop images from a scrollview to an area to change the image of that area when an image from the scrollview is dropped onto the area the image changes. My ...
Blake Loizides's user avatar
1 vote
2 answers
890 views

Add Array of Images to a UIScrollView ObjectiveC

I did weeks of searching and finally found an example on Github that suited my needs. It was a trash drag example. I have now edited the example to my needs. I now have only one problem. in my ...
Blake Loizides's user avatar
0 votes
2 answers
2k views

How to Drag an Image with Gesture Recognition Xcode

I have made a little test to drag views in a UIScrollView to UIView where I can call any action. I'm trying to be able to make the image I made in the UIScrollView Draggable. I have not been able to ...
Blake Loizides's user avatar
0 votes
1 answer
2k views

Getting 2 Images to Drag in View Xcode

I have 2 images in a view and I applied a drag touch function to the images, and when the image collides with the image at the top of the view it gives you an alert and changes the image at the top of ...
Blake Loizides's user avatar
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
1 vote
1 answer
528 views

Drag & Resize images in UIImageView

Hello I want to drag image from another view and add that in another View and I am using SPUserRezisableView for resizing the view but it works only for UIView, how can I implement it for UIImageView.
Eager Beaver's user avatar
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
0 votes
1 answer
369 views

iphone drag and drop weird jumpy movement

I'm building an interactive anagram feature at the moment for my iPad app and am trying to use touchmove events to get the selected item to follow the movement smoothly, but it is jumping for some ...
Bob-ob's user avatar
  • 1,618

15 30 50 per page