how to stop auto spell in UITextField

I am using UITextFields in my Project,where client don't want auto spell , where I have placed following parameters

  txt.autocorrectionType=FALSE;
  txt.autocapitalizationType=FALSE;

though its stops auto capatilization but auto spell is still there

can any on help how can I stop the auto spell.

Answers


typedef enum {
    UITextAutocapitalizationTypeNone,
    UITextAutocapitalizationTypeWords,
    UITextAutocapitalizationTypeSentences,
    UITextAutocapitalizationTypeAllCharacters,
} UITextAutocapitalizationType;


typedef enum {
    UITextAutocorrectionTypeDefault,
    UITextAutocorrectionTypeNo,
    UITextAutocorrectionTypeYes,
} UITextAutocorrectionType;

Here FALSE means 0 , where both has

     UITextAutocapitalizationTypeNone,UITextAutocorrectionTypeDefault.

that's y autocapitalization is worked, autocorrection is still in as default.so wont work.

So u have to try like this

        [urTextField setAutocorrectionType:UITextAutocorrectionTypeNo];

        [urTextField setAutocapitalizationType:UITextAutocapitalizationTypeNone];

Need Your Help

Two Pure CSS Slideshows in the same page

html css slideshow

So I've found this Slideshow on the internet, and making it work and adapting it has been kinda easy.

Unmanaged Exports: Cannot compile assembly

.net delphi dll unmanaged

I want to create a .NET assembly that can be accessed from unmanaged code (Delphi 5).

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.