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 7957823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:19:16+00:00 2026-06-04T04:19:16+00:00

I am having a custom cell in my tableview, when showing keyboard some of

  • 0

I am having a custom cell in my tableview, when showing keyboard some of my cell gets hidden behind the keyboard.

To fix this issue I have tried as below

- (void) textFieldDidBeginEditing:(UITextField *)textField {
    CustomCell *cell = (CustomCell*) [[textField superview] superview];

    NSIndexPath *indexPath = [self.mySmlMsgTemplatesTbl indexPathForCell:cell];
    [self.mySmlMsgTemplatesTbl scrollToRowAtIndexPath:indexPath atScrollPosition:UITableViewScrollPositionTop animated:YES];


   // [self.mySmlMsgTemplatesTbl scrollToRowAtIndexPath:[self.mySmlMsgTemplatesTbl indexPathForCell:cell] atScrollPosition:UITableViewScrollPositionTop animated:YES];
}

But it seems to be not working.

  • 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-04T04:19:16+00:00Added an answer on June 4, 2026 at 4:19 am

    You should try following code as I have shown below. I didn’t try it but it should work.

    - (void)textFieldDidBeginEditing:(UITextField *)textField{  
        CGPoint point = [self.tableView convertPoint:yourtextview.bounds.origin fromView:yourtextview];
        NSIndexPath* path = [self.tableView indexPathForRowAtPoint:point];
        [self.tableView scrollToRowAtIndexPath:path atScrollPosition:UITableViewScrollPositionTop animated:YES];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented a tableview with a custom cell. 1.Custom cell Custom cell having
Well I have a view of this type of hierarchy Main View (having some
I'm having a problem. I have a Custom UITableViewCel, the cell contains a slider
i am having a tableview in which custom cells are loaded.Custom cell has a
I have a listview with custom row having a textview and a clickable image
Having a bit of trouble using the List.Find with a custom predicate i have
I have a custom web control having two labels. On the display page I
Having trouble with MKAnnotation. Have a custom pinview and works fine for the first
So this is an interesting problem. I have custom tableviewcells that include a text
I want to give custom cell's UIButton IBAction event. I tried with below code

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.