Top "Uitextfield" questions

A UITextField object is a control that displays editable text and sends an action message to a target object when the user presses the return button.

Swift UITextFieldShouldReturn Return Key Tap

(iOS8, Xcode6, Swift) Using Swift, how do I capture a tap on the "Return" button? The doc at the following …

ios xcode uitextfield swift
How do I vertically center UITextField Text?

I am simply instantiating a UITextField and noticing that the text doesn't center vertically. Instead, it is flush with the …

ios uitextfield alignment
Changing UITextField Placeholder font

I'm changing the placeholder text color with the following code, but when I try to add NSFontAttribute I get the …

ios objective-c uitextfield
Hide the cursor of an UITextField

I am using a UITextField with a UIPickerView for its inputView, so that when the user taps the text field, …

ios cocoa-touch uitextfield uipickerview
Get UITableView to scroll to the selected UITextField and Avoid Being Hidden by Keyboard

I have a UITextField in a table view on a UIViewController (not a UITableViewController). If the table view is on …

xcode uitableview keyboard uitextfield
How can I add a toolbar above the keyboard?

I have created a UIToolBar programmatically and added a UITextField on it. Now, I need that toolbar to be above …

ios uitextfield uitoolbar
Disable UITextField keyboard?

I put a numeric keypad in my app for inputing numbers into a text view, but in order to input …

iphone cocoa-touch uitextfield iphone-softkeyboard
Formatting a UITextField for credit card input like (xxxx xxxx xxxx xxxx)

I want to format a UITextField for entering a credit card number into such that it only allows digits to …

ios objective-c swift uitextfield credit-card
How to open the keyboard automatically on UITextField?

I have a very simple table and when tocuh a cell it opens a new view with one UITextfield. All …

iphone objective-c interface uitextfield builder