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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:38:05+00:00 2026-05-21T20:38:05+00:00

I am trying to make an app with a UIPickerView and UITableView on the

  • 0

I am trying to make an app with a UIPickerView and UITableView on the same view. I have the PickerView done and it works. But, I can’t figure out how to connect the PickerView generated results to the tableView at the bottom of the view. The Picker iterates through user selected variables and I want the tableview to be populated with the results from the picker. Any assistance would be appreciated.

  • 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-21T20:38:06+00:00Added an answer on May 21, 2026 at 8:38 pm

    I solved the problem. Thanks to Sukas and many hours of hard work.

    How did I add a UITableView to a UIPickerView on the same view.

    First I made a UIViewController with no nib. I made the UIPickerView and UITableView programmatically in -(void)loadView.

    PickerView and TableView were made into subviews of the UIView.

    Important Part: In the DidSelectRow in Component method — I added [self.table reloadData];

    (This is the way I found to get the arrays from my component methods into my tableView methods)

    Also, In the DidSelectRow in Component method I removed all objects from the arrays I created to hold the wheel selections. I made two arrays to hold the wheel selections and at different parts of the code I had to removeAllObjects from them, so that I got a new empty array every time the wheel changed and the tableview could be repopulated with new information.

    I hope this helps!!!

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

Sidebar

Related Questions

I have an app with tabbar and webview. I'm trying to make the app
I'm trying to make a simple drawing app in c++, but i'm having trouble
I'm trying to make an app which compatible with 3.x and 4.x iOS. But
I'm trying to make the app read data from a socket, but it takes
I'm trying to make an app with images that you can save to your
I am trying to make an app that can shutdown/reboot your phone at the
I'm trying to make an app that can play different midi files at the
I'm trying to make an App-wide media-upload which should have the possibility of being
I am trying to make an app that will have multiple screens, and I
I am trying to make an app where each view controller (.h/.m) has 2

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.