-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我無法使用此方法。爲什麼?