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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:30:58+00:00 2026-06-03T03:30:58+00:00

I have a tableview controller with many statics cells. When i click on one

  • 0

I have a tableview controller with many statics cells. When i click on one field, i want to display a UIPicker to pick a value.

My table is big, so it’s scrollable.

How can i add a subview on my tableviewController to display this UIPicker at the bottom of the ipad screen, i mean not at the bottom of the tableview.

Thank you.

  • 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-03T03:30:59+00:00Added an answer on June 3, 2026 at 3:30 am

    You should get CGRect from viewDidAppear (not viewDidDisplay). In there self.bounds (if you have a UITableViewController class is hard when we don’t see your code) return you a visible area only. Then you can draw a picker there.

    Edit (for comment request):
    I use example for that from my code. In your viewController (any tableView, View … ) you have two methods:

    - (void)viewDidLoad
    {
        [super viewDidLoad];
    
        NSLog(@"%f,%f",self.view.bounds.size.width,self.view.bounds.size.height);
    
    }
    
    -(void)viewWillAppear:(BOOL)animated
    {
        NSLog(@"%f,%f",self.view.bounds.size.width,self.view.bounds.size.height);
    }
    

    What i do above is paste the same code to both methods. What i did receive:
    From viewDidLoad: 320.000000,460.000000
    From viewDidAppear: 320.000000,416.000000

    This is becouse i have navigationBar in the top. So if you have something on the screen you should draw it in CGRect whatever you like (percent value maybe).

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

Sidebar

Related Questions

I have a Table View Controller with cells. I want to update the text
I have a table view controller with custom cells. In those cells i added
I have a search display controller in a table view. In this table view,
I have a navigation controller which also has a table view. I want to
I have a controller that contains a tableView that spawns another controller modally to
I have a view controller that has a tableView in it. When I set
I have a table view controller which doesn't let me manually scroll to the
I have a categories table view controller. In my app, categories can have subcategories.
I have view controller, into the view i have put a table view, and
I have a view controller that shows up a table view controller when a

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.