下拉隐藏键盘

- (void)scrollViewWillEndDragging:(UIScrollView *)scrollView
                     withVelocity:(CGPoint)velocity
              targetContentOffset:(inout CGPoint *)targetContentOffset{
    if(velocity.y>0) {
    } else {
        [self.view endEditing:YES];
    }
}

你可能感兴趣的:(下拉隐藏键盘)