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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:39:00+00:00 2026-06-04T01:39:00+00:00

I have been trying to find a tutorial to do the following: I have

  • 0

I have been trying to find a tutorial to do the following:

I have a UITableViewController with two sections with 1 row per section.

The row in the second section shows a list of items which are just a list of strings (like a basic UITableView with the Basic cell type).

So basically, if I have 2 items to list in the UITableViewCell, I would like to create a UITableView in its contentView with 1 section and 2 rows, each row having a UILabel for me to access.

Can anyone point me in the right direction?

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-04T01:39:02+00:00Added an answer on June 4, 2026 at 1:39 am

    In principle, I think you should abandon your idea with table view inside table view. The outer table view will scroll, and the inner one also, resulting in a very confusing and potentially frustrating user experience. The standard setup for what you describe (master detail) is to present the detail in a separate table view that animates in and out; or to divide your table view into sections with the data (using the sections below for the additional data you mention).

    If you want to proceed with your idea, you should be able to explain, why the user has to see the second section while scrolling the first section. I think it will be very hard to argue.

    That being said, it is of course possible to include a table view in a table view cell. Simply drag the table view into the cell in interface builder, give it a unique name, wire it up with your controller (delegate and datasource) and make sure you distinguish between the outer and inner table views in your delegate and datasource methods.

    For example,

    -(UITableViewCell*) tableView:(UITableView*)tableView 
       cellForRowAtIndexPath:(NSIndexPath*)indexPath {
    
       if (tableView==innerTableView) {
          // get and configure the cells
       }
       else {
          // configure the cells of the original table view
       }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to find out why the following lines of code do
I have been trying to find a neat tutorial, guide or step by step
Hello i have been trying to find a tutorial that show how to setup
I'm interested about Android and have been trying to find an example or tutorial
I have been trying to find a good CoreData tutorial that focuses on more
Hello i have been trying to find a tutorial that show how to setup
I have been doing lots of googling lately trying to find a decent documentation/tutorial
I have been trying to find a code snippet to do an unsharp mask
I have been trying to find some resource on this topic for a while
I have been trying to find decent Image Acquisition + Image Processing solution at

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.