iOS button Touch Drag... (with picture) :(

alexandergre

macrumors member
Original poster
Jul 28, 2009
58
0
when you touch and drag you finger from anywhere on the screen the text is "Outside"
but when your finger enters any of the circles the text till change to "Inside".
and when the finger goes outside of the circles the text will be "Outside", again.

I want to be able to drag my finger(touching the screen hole the time) and still be able to change the text. any tips?
I have tried several ways in IB with no success. (touch drag inside outside ...)
I realized that im looking for something like the iPhone keyboard.
 

Attachments

alexandergre

macrumors member
Original poster
Jul 28, 2009
58
0
what if do like this:

if touch.position=10,13 then label.text= inside.
else if touch.position=23, 34 then label.text= inside.
else if touch.positions= 34, 45 then label. text = inside.
else, label.text= outsite



Would it work?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.