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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:53:49+00:00 2026-05-27T16:53:49+00:00

I have a case but the detailtext is not showing? Does anyone know what

  • 0

I have a case but the detailtext is not showing? Does anyone know what te problem is?

i used: UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    UIViewController *controller;        
    UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
    switch(indexPath.row) {
        case 0:
        {
            NSLog(@"Case 0");
            controller = [[wed1 alloc] init]; //WithStyle:UITableViewStylePlain];
            [self.navigationController pushViewController:controller animated:YES];
            cell.detailTextLabel.text = @"Wedstrijden!";
        }
            break;
  • 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-27T16:53:50+00:00Added an answer on May 27, 2026 at 4:53 pm
       case 0:
        {
            NSLog(@"Case 0");
    
            controller = [[wed1 alloc] init]; //WithStyle:UITableViewStylePlain];
    

    //created a controller

            [self.navigationController pushViewController:controller animated:YES];
    

    //at his point, you are showing next ViewController’s view

            cell.detailTextLabel.text = @"Wedstrijden!";
    

    //here you are changing the text of the text for current tableView’s cell (which is actually going to be off the screen as new controller’s view will be shown after previous statement execution)

        }
    

    with the piece of code you shared – I don’t find anything wrong here, the detail text should not be visible as this view will be gone.

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

Sidebar

Related Questions

I have a problem.. I am working on timezone on PHP but In case
I know that ScrollView can have only one Child but in my case I
I know it's wired to have such a case but somehow I have it:
I have a case sensitive SERVER (SQL_Latin1_General_CP1_CS_AS) but the Database is Case insensitive (SQL_Latin1_General_CP1_CI_AS).
I have a case where I need to select a random item, but I
In my case I have panels,but to make it clear I will use buttons
I have a specific case in mind, but the question applies in general too.
I have the following code (in this case for two images - but in
I have a pretty simple case which I started solving using foreach(), but then
I have two functions whose underlying logic is the same but in one case

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.