Quote:
Originally Posted by baja_yu
UIViews don't scroll. You need to use UIScrollView for that, and they don't scroll automatically either. You'll need to code it yourself. Do a quick google search for "UIScrollView keyboard show" and you'll find plenty of examples.
|
Another thing, as i am having 3 text fields name, email and mobile on registration form.
i had set all properties for textfields like
Quote:
nameTextField.keyboardType = UIKeyboardTypeDefault;
nameTextField.placeholder = @"enter username";
|
the above properties are different for above 3 fields,so we need to declare the properties separately.
But there are some properties common to all the 3 fields like
Quote:
nameTextField.returnKeyType = UIReturnKeyJoin;
nameTextField.clearButtonMode = UITextFieldViewModeWhileEditing;
nameTextField.delegate = self;
|
Do we need to repeat the above common properties separately for other textfields also?
Is there anyway we can declare commonly for entire section or view rather than setting individually repeating for each textfield?