All Questions
7
questions
1
vote
0
answers
19
views
Replicate a draggable image on the click of a button
I am trying to create a draggable image upon button click in Objective C. For example, lets say the image is an X or an O or simply a dot. Each time I click an "Add" button, I would like for an image ...
-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 ...
0
votes
0
answers
71
views
Dragging UIImage only when your finger is on the UIImage
I successfully coded an image which is draggable but, if you randomly click somewhere in the screen it just teleports itself to that point. I don't want that!
How can I make the image only draggable ...
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 ...
0
votes
2
answers
2k
views
Drag and drop UIButton but limit to boundaries
I’m not asking for givemesamplecodenow responses, just a nudge in the right direction would be much appreciated. My searches haven’t been any good.
I have a UIButton that I am able to move freely ...
1
vote
1
answer
1k
views
Drag & Drop creation of drag image
I'm implementing drag & drop for a customView; this customView is a subclass of NSView and include some elements.
When I start drag operation on it, the dragImage it's just an rectangular gray box ...
1
vote
1
answer
794
views
Examples of NSWindow's dragImage?
I'm looking for an explanation of NSWindow's dragImage method.
- (void)dragImage:(NSImage *)image at:(NSPoint)imageLocation offset:(NSSize)pointerOffset event:(NSEvent *)event pasteboard:(...