Set,
textField.clearsOnBeginEditing = NO;
Note: This won’t work if secureTextEntry = YES. It seems, by default, iOS clears the text of secure entry text fields before editing, no matter clearsOnBeginEditing is YES or NO.
More Related Contents:
- UITextField format in xx-xx-xxx
- Disable UITextField keyboard?
- Keeping object on top of keyboard in the event of becomeFirstResponder or resignFirstResponder?
- Re-Apply currency formatting to a UITextField on a change event
- Can I select a specific block of text in a UITextField?
- Easy way to disable a UITextField?
- UITextField: move view when keyboard appears
- iPhone display date picker on UITextField touch
- Is there an iPhone equivalent to the NSTokenField control?
- self.delegate = self; what’s wrong in doing that?
- Drop Shadow on UITextField text
- How to detect UIKeyboard “backspace” button touch on UITextField? [duplicate]
- UITextField in UITableViewCell Help
- iphone bullet point list
- How to know if a UITextField in iOS has blank spaces
- How to know if a UITextField in iOS has blank spaces
- File Upload to HTTP server in iphone programming
- How to determine when Settings change on iOS
- Best way to switch between UISplitViewController and other view controllers?
- UITableView dequeueReusableCellWithIdentifier Theory
- How to find the distance between two CG points?
- Dismiss iphone keyboard
- PDF search on the iPhone
- Way to make a UIButton continuously fire during a press-and-hold situation?
- Ignore certain exceptions when using Xcode’s All Exceptions breakpoint
- Correct way to load a Nib for a UIView subclass
- Xcode “Use of undeclared identifier” errors, compiles/runs just fine
- White space before separator line into my TableView
- Change iPhone navigation bar’s height
- How to use a UIButton as a toggle switch