This post explains how to prevent the new predictive text bar appearing during UITextField input:
Disable UITextField Predictive Text
But I have been unable to adapt that to a UITableViewCell. How do I access the textfield of the cell?
This post explains how to prevent the new predictive text bar appearing during UITextField input:
Disable UITextField Predictive Text
But I have been unable to adapt that to a UITableViewCell. How do I access the textfield of the cell?
You can't set it on a UITableViewCell because the cell does not use a keyboard. you need to set it to the text fields subviews of the cell.
Edit post-comment
There are many ways to access a field in a UITableViewCell. I'm including the two most common.
Tag the field in storyboard then you can write in viewForRowAtIndexPath
:
UITextField *tf=(UITextField *)[yourCell viewWithTag:yourTag];
Sub class your UITableViewCell (I think this results in the cleanest code). Now you can create an IBOutlet for each sub view in directly in the class of your cell.