Questions tagged [resignfirstresponder]

A UIResponder method added for handling remote-control events. for iOS 4 and iOS4+

When the user taps a control that can accept first responder status, that control is sent the becomeFirstResponder message. Until another control becomes the first responder or the current control is sent the resignFirstResponder message, that control will keep this status and receive keyboard and shake input.

170 questions
0
votes
2 answers

When textfield become first responder, gesture recogniser not responding, even after resign

I've probably missed something... First, I inherited from UITextField and added a Tap gesture recogniser to a UITextField (in the designated initialiser): UITapGestureRecognizer * ges = [[UITapGestureRecognizer alloc] initWithTarget:self…
0
votes
2 answers

iOS Keyboards are not being dismissed

I have 3 text fields. The first two allow entry using the standard keyboard, the last text field brings up a picker. I'm having issues in dismissing the keyboards - so when the 3 text field is clicked, the picker appears however the keyboard from a…
userMod2
  • 8,312
  • 13
  • 63
  • 115
0
votes
5 answers

Keyboard not resigning in IOS 7

I use a UIText field as a toggle to display and then update with a value each time it is depressed, and use the the didbeginediting as the action to resign the keyboard. In 6.2 this works fine in 7 the keyboard is not resigned. -(void)toggleAnswer…
0
votes
3 answers

UITextView is not resigning when added as sub view of UIAlertView

I've added UITextView as a sub view of UIAlertView, I've added UIToolBar with a Done button (using UIBarButtonItem) as inputAccessoryView to allow user to resign keyboard`. It's just working fine in iOS6.0. And not in iOS5.0. I've break point and…
Hemang
  • 26,840
  • 19
  • 119
  • 186
0
votes
1 answer

UITextField in UITableView tableFooterView bouncing up offscreen on resignFirstResponder

I've searched and searched this problem and I admit I might be missing something, but I'm out of ideas. I have a UITextField in a UITableView tableFooterView in my mainClass: // Set table footer PAPPhotoDetailsFooterView *footerView =…
OdieO
  • 6,836
  • 7
  • 56
  • 88
0
votes
3 answers

UItextfields autofocus

i have 6 textfields named digit1,digit2..etc upto digit6 added as a subview over a view. i want the digit2 textfield to autofocus once the user enters a digit in the digit1 textfield and similarly digit3 should autofocus when a digit is entered in…
Karthick
  • 382
  • 1
  • 3
  • 23
0
votes
1 answer

resignFirstResponder changes frame value

I have a LoginViewController with two text fields and a button. I used storyboard, so these are not created programmatically. They are below each other. Here's the .h file @interface LoginViewController : UIViewController…
Stefan999
  • 11
  • 1
0
votes
2 answers

What executes textFieldDidBeginEditing on uitextfield within UITableCell

I have a UITextField inside a UITableViewCell (custom cell ). I have 3 rows in my UITableView. the 2nd row is the text field row. The 3rd row is a link to open another view through an animation block. The problem I have is if the user is editing the…
Nick Turner
  • 927
  • 1
  • 11
  • 21
0
votes
2 answers

ios - resignFirstResponder not working

I have a view presented modally which contains 3 label. The third label should not be editable and should show a UIDatePicker when clicked on it, and hiding keyboard if it displayed. So I did that : - (BOOL)textFieldShouldBeginEditing:(UITextField…
0
votes
1 answer

UITextField keyboard dismissal behaviour different in iOS 6

I have some simple code that moves the 'firstResponder' between UITextFields by calling 'becomeFirstResponder' on each field in turn. In iOS 5, the keyboard is shown as constantly, until the final textfield where resignFirstResponder is…
Snips
  • 6,575
  • 7
  • 40
  • 64
0
votes
2 answers

Resign is not working in UITextField of UIAlertView?

i created alert view,in alert view one text field will come but when i click return button on keyboard it doesn't disappear,even i add the delegate to .h file. -(BOOL)textFieldShouldReturn:(UITextField *)textField { [textField…
Sri..
  • 163
  • 5
  • 18
0
votes
2 answers

UITextField: force resignFirstResponder when tapped outside of it

I have a static UITableView that contains a number of UITextFields. When the user taps outside of any of the text fields I'd like to I'd like to dismiss the keyboard. At the top level of my UIViewController is a UITableView and a UITabBarItem. I…
RobertJoseph
  • 7,968
  • 12
  • 68
  • 113
0
votes
1 answer

How to resign first responder when entering currency

I'd like to make my text field resign first responder after the cents are entered in a text field for entering currency. I'm using UIKeyboardTypeDecimalPad so only numerals are entered. When the second numeral after the decimal point is entered I…
0
votes
4 answers

resignFirstResponder not hiding UIkeyboard in iPad

I have an iPad application in which resignFirstResponder does't seems to be working. I have tried many solutions. I am just calling resign first responder from the instance of the firstResponder object but keyboard is remain there on the screen.…
vikas
  • 827
  • 1
  • 9
  • 19
-1
votes
1 answer

Check for exiting TextField resignedFirstReponder?

Is it possible to check if a TextField has been resigned? I have 3 TextFields, and Cycle through them with return key with (resignFirstResponder) and (becomeFirstResponder) But is there a way to check if a field has resigned? I noticed some of my…
1 2 3
11
12