textfield won't resign

Discussion in 'iOS Programming' started by Rotemg, Apr 28, 2012.

  1. Rotemg macrumors newbie

    Joined:
    Jan 16, 2012
    #1
    Hello,
    I have a view with text fields which when one of them is pressed a UIActionSheet comes up instead of the keyboard. The problem is that when i press a diffrerent text field and the keyboard comes up and then press the textfield with the UIActionSheet, after I dismiss the ActionSheet the keyboard is still up and it creates a problem because it won't come down even if I change to other view.
    I tried to use resignFirstResponder but nothing I did worked.... Can someone please help me?
     
  2. iosdev macrumors newbie

    Joined:
    May 4, 2012
    #2
    Check this parameters

    tw.canResignFirstResponder = YES;
    tw.canBecomeFirstResponder = YES;
     

Share This Page