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

  • SEARCH
  • Home
  • 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 6864031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:51:38+00:00 2026-05-27T02:51:38+00:00

I have a UITableView (on a UIViewController) on which I want to ad an

  • 0

I have a UITableView (on a UIViewController) on which I want to ad an iAd banner on the top, but below a toolBar I already have on the top. I’m trying to shift the the tableView (in reference to the view) so I can locate the banner in the space left blank.

To check it ou, I create an action in which I shift the tableView frame:

  -(IBAction)iAdAction:(id)sender{

   self.tableViewConc.frame=CGRectMake(0, 94, 320, 367);}

where 94 is the summ of 44 from the toolbar and the 50 from the banner.

The action works correctly but then, I cannot scroll to the bottom of the tableView, when I try it, it bounces back. I’ve tried to change the height of the tableView in the same action ( 430 instead of 367, for instance) but it doesn’t work. I’ve also tried it on IB, but it doesn’t work either.

I feel that I’m missing something but I cannot remember what.

Any help?

Thanks in advance!

  • 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-27T02:51:39+00:00Added an answer on May 27, 2026 at 2:51 am

    Not being able to scroll to the bottom of the tableview is usually a symptom of its height being too large. (i.e. it’s cut off at the bottom)

    Don’t compute the height you need and put those numbers in your code. Just find out what it should be from the view hierarchy. For example, you might compute the height of your table view with CGRectGetHeight(self.view.bounds) - CGRectGetMaxY(self.iAdView), and the view’s y origin with CGRectGetMaxY(self.iAdView) assuming that the iAd view and your table view are both subviews of self.view. Or, even better, just use autoresize masks or autolayout to keep the table view the right size.

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

Sidebar

Related Questions

in app i have custom tableview(UITableView *tableView) which subclass of uiviewcontroller & in tableview
I have a UITableView , which I am controlling from a custom UIViewController .
I have a UITableView (on a UIViewController) which is pushed via a navigationController. Along
I have a UIViewController named RootViewController which contains a UITableView and a UITabBar (2
I have a UIViewController . Within that is a UITableView which is drawn at
I have a UIViewController which uses the UITableViewDelegate and UITableViewDataSource. I have created UITableView
I have an UIViewController which contains a UITableView (subclassed) and another UIView (subclassed). They
I have a UIPopOverController that shows a UIViewController with a UITableview in its view.
I have a problem with data in UITableView. I have UIViewController, that contains UITableView
Here is the situation, I have UIViewController class with a UITableView outlet. I would

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.