xcode - Disable UITextField Predictive Text -


with release of ios 8 disable predictive text section of keyboard when begin typing in uitextfield. not sure how done, appreciated!

setting autocorrectiontype uitextautocorrectiontypeno did trick

objective-c

textfield.autocorrectiontype = uitextautocorrectiontypeyes; textfield.autocorrectiontype = uitextautocorrectiontypeno; 

swift 2

textfield.autocorrectiontype = .yes textfield.autocorrectiontype = .no 

swift 3

textfield.autocorrectiontype = .yes textfield.autocorrectiontype = .no 

Comments

Popular posts from this blog

c# - HttpResponseMessage System.InvalidOperationException -

sql - Postgresql error: "failed to find conversion function from unknown to text" -