Question about keyboard

Discussion in 'iOS Programming' started by art0071, May 28, 2009.

  1. art0071 macrumors newbie

    Joined:
    May 20, 2009
    #1
    Hello Everyone, all right?

    Well, I'm getting the action of a (id) sender.
    This action is triggered by a button that put the form back to
    hide the keyboard if the operator does not click the return of the screen.

    I wonder how do I get the sender and to test which class
    origin of it. (something like typename)

    Another thing I want is to put above the keyboard that option for
    "next" and "preview" to facilitate the completion of the operator. (if not
    you like, someone knows how to return the keyboard to jump
    near field of the screen?)

    Thanks for the help :apple:
     
  2. art0071 thread starter macrumors newbie

    Joined:
    May 20, 2009
    #2
    Somebody could help me, please? :confused:
     
  3. jnic macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
    #3
    1. Please don't bump posts.

    2. I'm having a hard time deciphering your first paragraph, please re-read.

    3.
    Getting the sender (assuming you're using IB):

    Code:
    - (IBAction)yourMethod:(id)sender;
    Testing the sender's type: https://developer.apple.com/iphone/...rence.html#//apple_ref/occ/clm/NSObject/class

    4.
    http://www.google.com/search?q=iphone+keyboard+toolbar



    http://stackoverflow.com/questions/...align-a-toolbar-on-top-of-the-iphone-keyboard
     

Share This Page