-(BOOL) textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string
{
if(_userNameTextField.text.length >= 50 && range.length == 0) {
return NO;
}
if(_companyNameTextField.text.length >= 30 && range.length == 0) {
return NO;
}
if(_passwordTextField.text.length >= 30 && range.length == 0) {
return NO;
}
return YES;
}
{
if(_userNameTextField.text.length >= 50 && range.length == 0) {
return NO;
}
if(_companyNameTextField.text.length >= 30 && range.length == 0) {
return NO;
}
if(_passwordTextField.text.length >= 30 && range.length == 0) {
return NO;
}
return YES;
}
Sign up here with your email
ConversionConversion EmoticonEmoticon