-2
我调用的方法,- (空)的touchesBegan:(NSSet中*)触及withEvent:方法(*的UIEvent)事件{}不工作
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
[super touchesBegan:touches withEvent:event];
[self.name resignFirstResponder];
[self.userName resignFirstResponder];
[self.mailId resignFirstResponder];
[self.password resignFirstResponder];
[self.reTypePassword resignFirstResponder];
}
为目的的辞职第一responder.it工作正常没有使用scrollview.but如果我使用scrollview我无法使用此方法。为什么?