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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:18:20+00:00 2026-05-27T06:18:20+00:00

In my application I am using custom cell with a label and 4 unbuttons

  • 0

In my application I am using custom cell with a label and 4 unbuttons in the same sequence. Now when there are more data in the table and i scroll the table,it does not allow me to scroll properly and I am able to scroll only unto 7th row. and when i scroll up,the whole table gets scrolled to down. I have set one navigation bar at the top. I tried to resize the table to small height,but still the problem exists. Any solution for the same?

EDIT

I am posting my source code for reference :

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    if(appDelegate.isCompleted ==TRUE)
      return [appDelegate.CArray count];  
    if(appDelegate.isCompleted ==FALSE)
        return [appDelegate.PArray count];  
    else
        return 0;
}

// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *CellIdentifier = @"Cell";

    CellForActivity *cell = (CellForActivity*)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[[CellForActivity alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
    }

    cell.selectionStyle = UITableViewCellSelectionStyleNone;
    [cell.btn1 setTag:indexPath.row];
    [cell.btn2 setTag:indexPath.row];
    [cell.btn3 setTag:indexPath.row];
    [cell.btn4 setTag:indexPath.row];

        [cell.btn1 addTarget:self action:@selector(PressC:) forControlEvents:UIControlEventTouchUpInside];
        [cell.btn2 addTarget:self action:@selector(PressU:) forControlEvents:UIControlEventTouchUpInside];
        [cell.btn3 addTarget:self action:@selector(pressV:) forControlEvents:UIControlEventTouchUpInside];
        [cell.btn4 addTarget:self action:@selector(customCellButtonTapped:) forControlEvents:UIControlEventTouchUpInside];

    if(appDelegate.isCompleted==TRUE)
    {
        NSString *strVal = [[appDelegate.CompltedArray valueForKey:@"Subject"]objectAtIndex:indexPath.row];
        cell.DescLabel.text = [NSString stringWithFormat:@"%d)%@",indexPath.row+1,strVal];
    }
    else if(appDelegate.isCompleted==FALSE)
    {
        NSString *strVal = [[appDelegate.PendingArray valueForKey:@"Subject"]objectAtIndex:indexPath.row];//@"Follow Me";
        cell.DescLabel.text = [NSString stringWithFormat:@"%d)%@",indexPath.row+1,strVal];
    }
    return cell;
    return 0;
}

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return 75;
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
}

I am having a UINavigation bar at the top of the table.

  • 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-05-27T06:18:21+00:00Added an answer on May 27, 2026 at 6:18 am

    I was having one progress view in my view and after deleting the same my whole problem got solved. And with the same solution,I am closing my question. Thank you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my application, i'm using a customised table. Each cell have an uibutton and
I am using custom UITableview concept to show data in cell of tableview. My
I am using Custom data service provider for an application. I need to add
I have started using custom intents in my application and I have come across
I'm using a custom-built inhouse application that generates a standard set of reports on
We are using a custom FTP application (which encrypts the files) for secure transfers.
I am using a custom title view in my application for each activity. In
has anybody tried using a custom classloader with BlazeDS? We have a web application
We're using the Maven exec:java goal to run a custom java application that configures
We are using Ext JS for an application in work, building a custom theme

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.