All Questions
13
questions
3
votes
1
answer
517
views
Exchange position of cells by gesture
I have UICollectionView in which I have a prototype cell and UIImageView in it.I am displaying random images in UICollectionView.
Now I want to exchange position of UIImageView by swiping it to near ...
0
votes
3
answers
97
views
In iOS7, cannot drag ImageView out of the constraints of parent view to main body?
In iOS, when dragging an UIImageView (red square) using UIPanGestureRecognizer in a scrollview (bar at bottom within another UIImageView), I cannot drag out of the constraints of the bar into the main ...
0
votes
1
answer
196
views
Getting a UIImageView object to show up when dragging (with UILongPressGestureRecognizer)
So I'm trying to implement drag and drop with image thumbnails acquired using the ALAssets Framework.
I'm able to get the long press gesture to work properly (its definitely moving something around ...
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 ...
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 ...
5
votes
2
answers
5k
views
drag and drop uiimage into another uiimageview
I am using following code snippet to drag and drop uiimageview
UIPanGestureRecognizer *panRecognizer = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(move:)];
[panRecognizer ...
0
votes
2
answers
3k
views
how to drag dynamically created UIImageview in obj c (xcode)
i have gone through the many tutorials to drag an image on screen using touchesmoved method
but most of them are not for dynamically created imageviews
in my project i created 5 UIImageview ...
0
votes
2
answers
565
views
Draggable UIImageViews copies
I need to make an exact copy of subclassed UIImageView that has drag and drop enabled, so I can drag it but leave a copy to replace it or simply making a copy that I can drag to another place instead ...
0
votes
2
answers
651
views
Drag multiple UIImageViews in an Array
This is what I have so far
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
UITouch *touch = [[event allTouches] anyObject];
for (UIImageView *imageView in _imageViewArray) ...
1
vote
2
answers
535
views
How to move different UIImages between different UIViews by doing clicks, not drag and drop
I am working on a project using Xcode, I've set up a checker board using a bunch of little UIImageViews containing UIImages of the pieces and laid them out inside a larger UIImageView, representing ...
0
votes
1
answer
747
views
How do I drag & drop and center an image between UIImageViews?
I am developing a chess app and currently I have a simple setup: background of the board and UIImageView for all the cells. So far I have managed to successfully drag & drop images around the ...
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 ...
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 <...