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

Discussion in 'iPhone/iPad Programming' started by alexandergre, Nov 25, 2009.

  1. macrumors member

    alexandergre

    Joined:
    Jul 28, 2009
    #1
    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.
     

    Attached Files:

  2. thread starter macrumors member

    alexandergre

    Joined:
    Jul 28, 2009
    #2
    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?
     
  3. macrumors regular

    Joined:
    Sep 9, 2007
    #3

Share This Page