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

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

c# - Derived UserControl layout resets after build -

haskell - Using Monad/ST for non-concurrent message passing in a mutable graph -