Questions tagged [becomefirstresponder]

170 questions
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

iOS UITextField can't becomeFirstResponder multiple times

I have a UITableView with sections where when you tap on a section, the section expands and there are options to choose from or you can insert your own option via a UITextField in one of the UITableViewCells. For that cell, I have this code in…
user1529956
  • 695
  • 2
  • 10
  • 21
0
votes
0 answers

Using becomeFirstResponder on a new UITextField

I am trying to programmatically set the focus on a new UITextField that I created using becomeFirstResponder. Is there any other way? -(void) editPlayerName { lblPLayerName.visible = FALSE; NSString* fontNm = @"Chalkduster"; …
0
votes
3 answers

Setting text to the UISearchBar when its firstresponder with controller change works weird

In my app i have UITextField on view of VC1(UIViewController). When i change text in textfield i call pushing of another controller VC2 with UISearchBar on its view. After pushing im assigning UISearchBar text to the textfield text from VC1. On xib…
0
votes
1 answer

UITextField move Cursor using tab key

I am creating a sample web application on my iphone... In that application the main page is login page....Users enter their user name and password in the textfield (UITextField), it will verified by program. My problem is I want to move cursor from…
dragon
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,063
  • 6
  • 36
  • 56
0
votes
1 answer

iOS UITextField custom keyboard

I've a custom keyboard view on my app positioned at the bottom of my screen, it's based on Fabrizio Prosperi's FPNumberPadView. I also have a couple of UITextFields, I want this keyboard to ALWAYS be on screen, whether a textfield has the focus or…
David Homes
  • 2,555
  • 7
  • 30
  • 50
0
votes
1 answer

How to BecomeFirstResponder UITextField in UITableView

There are many same questions on stackOverflow. But I can't resolve this problem. How to becomeFirstResponder UITextField in UITableView? I want to do like a below. Push edit button, then focus on UITextField in…
Tarou
  • 57
  • 7
0
votes
1 answer

UITableViewCell won't become first responder (Showing UIMenuController on cell gesture)

I have an application with a UITabBar. Every tab is a UINavigationController with several UIViewControllers inside. One of those View Controllers contains a UITableView, and I want to display a floating menu for deleting the long pressed…
momo
  • 3,192
  • 6
  • 33
  • 62
0
votes
2 answers

stop keyboard dismissing when switching uitextf

i am using a uitableview with one section and five cells, and two different uitextfields on each tableCell. my problem is: when a user tabs on first textfield on first table row, keyboard comes up, then the user taps on the second textfield. the…
triston
  • 365
  • 1
  • 8
  • 22
0
votes
2 answers

Set Frame of MKMapView causes resignFirstResponder, but only on iPad in Landscape with a Split Keyboard

This is a little weird and I'm not sure what the heck is going on. I'm using a MKMapView that has a custom annotation on it. In that annotation I have a text field that is editable. When the user taps on the field, the keyboard comes up and I…
Aaron Hayman
  • 8,345
  • 2
  • 33
  • 61
0
votes
1 answer

Incorrect indexPath against UITableView after calling reloadData from textFieldDidEndEditing

So I'm trying to emulate the way in which the standard Apple code works on the contacts app when managing telephone numbers. Specifically here, I'm working on deleting a row from a tableview if its empty and the user navigates to any other row My…
0
votes
2 answers

UITextView won't resignFirstResponder so another can becomeFirstResponder

I have a toolbar in my UITextfields' inputAccessoryView. If the 'next' button is hit it makes the next textfield in an orderedSet of all my textfields become the first responder. THAT works perfectly. BUT I can't get the 'previous' textfield to…
Will Larche
  • 2,999
  • 7
  • 23
  • 32
0
votes
1 answer

How to activate the keyboard from a UITextView on a (secondary) UIWindow

My iPhone app (based on the "Single View Application" of Xcode) has a UITextView (say: myTextView) that I want the user to be able to edit. I was setting it to editable, and all was working fine (I didn't even have to invoke…
Gik
  • 529
  • 5
  • 18
-1
votes
1 answer

UITextField becomeFirstResponder does not work

I have a listview on the bottom part of the screen and a 4 field entry form at the top part of the screen. When I tap on the list item I would like to set focus to the 1st text field. I have the code like this: - (void)tableView:(UITableView…
Mark Worsnop
  • 4,089
  • 14
  • 51
  • 73
1 2 3
11
12