All Questions
62
questions
0
votes
1
answer
132
views
iOS 11 DropInteraction Session from Photos returns invalid file path
When dropping images from the Photos app into my custom application, at - (void)dropInteraction:(UIDropInteraction *)interaction performDrop:(id<UIDropSession>)session I receive an NSURL* whose ...
3
votes
1
answer
1k
views
iOS Drag & Drop. How to replace a cell with a custom view while dragging
Is it possible to completely replace an element from draggable UITableViewCell to custom UIView?
For example, I drag a cell, and I want to display a circle when I click on the cell, and in the ...
0
votes
1
answer
132
views
Can't access property sourceIndexPath on UIDragItem
I'm creating a viewcontroller that contains two separate UICollectionViews. I'm allowing for cells to be dragged from one UICollectionView to another.
In the method
-(void)collectionView:(...
2
votes
2
answers
1k
views
UICollectionView drag and drop remove translucent cell
I'm using iOS 11 drag and drop API for reordering and want to remove translucent cell which appears on start dragging. Is it possible? For dragging I use only required method of ...
0
votes
0
answers
70
views
iOS - Choose picture from gallery or camera then crop, drag, delete or resize the picture
I'm working on an drawing project. I need to choose picture from gallery or take a picture from camera. Then user can crop the image. After that user can add the cropped picture to current DrawingView....
9
votes
0
answers
2k
views
UICollectionView cells appear duplicated in place after cancelled drag sessions
I’m having trouble with an obscure problem implementing local drag and drop in a UICollectionViewController. The collection view allows dragging of items into and out of folders. All looks and works ...
3
votes
0
answers
324
views
IOS 11 Drag'n'Drop How to drop custom file
I need to copy dropped data to my custom path. With images it's working fine. Here is the code:
- (UIDropProposal *)dropInteraction:(UIDropInteraction *)interaction sessionDidUpdate:(id<...
0
votes
1
answer
69
views
I can't connect an object class file to a uitableview? ios objective-c
Hi I am trying to integrate http://www.scott-sherwood.com/tutorial/ios-5-drag-and-drop-between-uitableviews/ tutorial's function that we can drag and drop objects between two UITableViews located in a ...
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 ...
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 ...
0
votes
2
answers
100
views
How to add an object in an UITableView by drag and drop it in?
So on my main View I've got an UITableView.
On this view, with a button, I'm able to add an object which I've called: SelectPostIt (which come from my nib SelectPostIt.xib ).
These Post It are ...
0
votes
1
answer
22
views
How to know the last x & y values at the end of a dragNdrop?
So I have a view with an UITableView on which I am able to add some objects (they come from my nib: SelectPostIt.xib).
These objects are draggable and what I want to do later is, when I'll drag then ...
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 ...
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
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 ...