Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8156439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:57:14+00:00 2026-06-06T16:57:14+00:00

I have a uitableview with custom uitableviewcell. To hide keyboard user should scroll up

  • 0

I have a uitableview with custom uitableviewcell. To hide keyboard user should scroll up or down. I reach this by implementing this method

- (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView
{
    if (_isEnableHide) {
        [self resignFirstResponderForVisibleCells];
    }
}

But

When cell is selected and keyboard is on, I try to scroll but strange behavior begins. It begins to scroll after keyboard disappears and any scrollings stops .

enter image description here

I want to uitableview down with keyboard.

I try manually do this by animation like this

....
 tableView.contentInset = UIEdgeInsetsZero;
 tableView.scrollIndicatorInsets = UIEdgeInsetsZero;
.....

but after scrolling on tableview stops tableview down and tableview’s insets are negative KEYBOARHEIGHT. How to scroll down tableview and keyboard together or cancel auto moving down after scrolls stop to make it manually.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:57:15+00:00Added an answer on June 6, 2026 at 4:57 pm

    I’ve solved this problem by setting self.tableView.scrollEnabled to No and change that after keyboard disappear to YES.
    But proper scrolling don’t occur after that.
    To solve this we manually scrolling tableView

    CGRect rect = self.frame;
    if (isDown) {
      rect.origin.y +=someDistance;
    }else{
      rect.origin.y -= someDistance;
    }
    [tableView scrollRectToVisible:rect animated:YES];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On my iphone app, I have a UITableView in edit mode, containing custom UITableViewCell.
I have a UITableView of custom UITableViewCells which looks like this: [ CELL 0
I have an UITableView in my class with a custom UITableViewCell with an UIImageView
What I have : 10+ view controllers using a UITableView with custom UITableViewCell .
I have a custom UITableView using UITableViewCell s. Each UITableViewCell has 2 buttons. Clicking
I'm working with a UITableView and a custom UITableViewCell . Initially, this had poor
I have a custom UITableView that allows the user to select multiple images. The
I have a custom UITableViewCell that has a UISegmentedControl object. My UITableView (questionnaire form)
I have a grouped UITableView with custom cells (created by subclassing UITableViewCell ). I
I have a UITableView with a custom UITableViewCell. In cellForRowAtIndexPath, I assign a font

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.