xcode - how can form a user in put with text field and without a button -
i want form textfield in view controller. after user make input text field , press return or dismiss keyboard touching screen, action must done. how can implement that? want code executed making global variable when keyboard dismiss:
[(appdelegate *)[[uiapplication sharedapplication] delegate] somevariable:somevariabletextfield]; note: somevariable number if there no way form nsnumber variable textfield can use nsnumberformatter.
pressing return call "did end , exit" event,so can ctrl-drag uitextfield code,and implement method.
Comments
Post a Comment