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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T11:27:24+00:00 2026-06-18T11:27:24+00:00

I have an application in Xcode 4.5.2 that uses storyboards. I have a table

  • 0

I have an application in Xcode 4.5.2 that uses storyboards. I have a table view, and I want to reposition the table view so that it is a bit lower on the screen so that I can add an image and a button above where the table view starts. I have researched this question and although I have found a couple of suggestions, none have worked for me yet. The table view is accessed via a modal segue, so there is no navigation bar.

Here is what I have already tried:

1) I added a navigation bar and set its background to my image and then tried to add the button into the nav bar. Because Xcode would not let me resize the nav bar, my image was distorted as was my button and so I abandoned this effort.

2) I added a tool bar but had similar issues as I did with the navigation bar.

3) I attempted in code to move the table view down (thinking I could add the image and button in the free space above the table view). This did not work at all, my table view origin remains at the very top of the screen. but here is the code:

//called in the view did load method of the table view controller class

- (void)repositionTableView
{
  float yOffset = 75.0;

  CGFloat x = self.tableView.frame.origin.x;
  CGFloat y = self.tableView.frame.origin.y + yOffset;
  CGFloat height = self.tableView.frame.size.height;
  CGFloat width = self.tableView.frame.size.width;

  CGRect newTableFrame = CGRectMake(x, y, height, width);

  self.tableView.frame = newTableFrame;
}

Can anyone give me any suggestions on how to approach this problem? Thanks.

  • 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-18T11:27:25+00:00Added an answer on June 18, 2026 at 11:27 am

    A lowered tableview

    Make sure:

    You created a UIViewController.

    UITableView is the subview of self.view.

    Autolayout is disabled.

    And you can move it freely.

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

Sidebar

Related Questions

I have created one application using XCode. Now i want to deploy that application
I have an application that uses the navigation-based application template in XCode. Now I
I have an Xcode project (for an iPhone application) that uses cocos2d. I have
I have a UITableViewController that uses custom table view cells (and I have created
I have an application in XCode using the sqlite/coredata database and that has already
I need to run the application that I have made in Xcode on my
I have a master detail Application in xCode. In Master View Controller an Array
How can I self-sign an iPhone application using Xcode? I have done the following:
In my iOS application I have a 5 view controllers that all deal with
I have a PhoneGap application I am developing for iPad that uses video extensively,

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.