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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T03:30:04+00:00 2026-05-22T03:30:04+00:00

i ve got an imageview ..below the imageview is a table view..which loads the

  • 0

i ve got an imageview ..below the imageview is a table view..which loads the data from server.by default five fields in table view are visible ..works fine..if i m to scroll the table view to view the remaining fields..the scroller rebounces..wat i want is the table view to be fixed and not to rebounce when scrolled ..i d be so greatful if u guys cud help me out..below is the code..

- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView 
{

   return 1;

}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
 {

return [items count];

}

- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section

{

 return 28.0;

}

- (UIView *) tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section 

{

UIView *headerView = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 

tableViewteam.bounds.size.width, 28)] autorelease];

    headerView.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageWithContentsOfFile:[[NSBundle mainBundle]pathForResource:@"team"ofType:@"png"]]];

    return headerView;
}


- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

{

    static NSString *CellIdentifier = @"Cell";


    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];

if (cell == nil) {

 cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault 

reuseIdentifier:CellIdentifier] autorelease];


}


    cell.selectionStyle=UITableViewCellSelectionStyleNone;

    cell.imageView.backgroundColor=[UIColor clearColor];

cell.textLabel.text=[[items objectAtIndex:indexPath.row]objectForKey:@"title"];

    cell.textLabel.textColor=[UIColor whiteColor];

    cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;

    return cell;
}
  • 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-22T03:30:04+00:00Added an answer on May 22, 2026 at 3:30 am

    I didn’t fully understand your problem. If you want to stop bouncing the table view you can add

    yourTableView.bounces = NO;
    

    in ViewDidLoad()

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

Sidebar

Related Questions

I got a Spinner element which I populate with data from a Cursor using
I've got an ImageView which I'm setting to setImageResource(R.drawable.someStateListDrawable) . Everything works fine, when
I have got a table view which is populated by json webservice url.I am
I got a 9 patch image which is the background of some imageview on
i ve got a table view.i want to reduce the font size and truncate
I have a ImageView which shows a picture that has been taken from the
I've got an ImageView which I'm displaying a contacts picture using a Uri which
Got a crash report from a beta tester and I'm having trouble identifying the
I've got a ViewPager made by ImageViews implemented like this: @Override public Object instantiateItem(View
I've got a custom view inside of a UIBarButtonItem , set by calling -initWithCustomView

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.