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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:52:08+00:00 2026-06-12T14:52:08+00:00

I want to show a menu like the below image in iPhone is it

  • 0

I want to show a menu like the below image in iPhone

menu

is it possible to navigate like this ?

  • 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-12T14:52:09+00:00Added an answer on June 12, 2026 at 2:52 pm

    Implement following code for multilevel Uitable view

    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
    {
        static NSString *CellIdentifier = @"Cell";   
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
        if (cell == nil) {
            cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
        }
        cell.textLabel.text=[[self.arForTable objectAtIndex:indexPath.row] valueForKey:@"name"];
        [cell setIndentationLevel:[[[self.arForTable objectAtIndex:indexPath.row] valueForKey:@"level"] intValue]]; 
        return cell;
    }
    

    didSelectRowAtIndexPath Method

     - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
        {
            [tableView deselectRowAtIndexPath:indexPath animated:YES];
            NSDictionary *d=[self.arForTable objectAtIndex:indexPath.row];
            if([d valueForKey:@"Objects"]) {
                NSArray *ar=[d valueForKey:@"Objects"];
                BOOL isAlreadyInserted=NO;
                for(NSDictionary *dInner in ar ){
                    NSInteger index=[self.arForTable indexOfObjectIdenticalTo:dInner];
                    isAlreadyInserted=(index>0 && index!=NSIntegerMax);
                    if(isAlreadyInserted) break; 
                }
                if(isAlreadyInserted) {
                    [self miniMizeThisRows:ar];
                } else {        
                    NSUInteger count=indexPath.row+1;
                    NSMutableArray *arCells=[NSMutableArray array];
                    for(NSDictionary *dInner in ar ) {
                        [arCells addObject:[NSIndexPath indexPathForRow:count inSection:0]];
                        [self.arForTable insertObject:dInner atIndex:count++];
                    }
                    [tableView insertRowsAtIndexPaths:arCells withRowAnimation:UITableViewRowAnimationLeft];
                }
            }
        }
    

    miniMizeThisRows method for the expanding the items

    -(void)miniMizeThisRows:(NSArray*)ar{
        for(NSDictionary *dInner in ar ) {
            NSUInteger indexToRemove=[self.arForTable indexOfObjectIdenticalTo:dInner];     
            NSArray *arInner=[dInner valueForKey:@"Objects"];
            if(arInner && [arInner count]>0){
                [self miniMizeThisRows:arInner];
            }
            if([self.arForTable indexOfObjectIdenticalTo:dInner]!=NSNotFound) {
                [self.arForTable removeObjectIdenticalTo:dInner];
                [self.tableView deleteRowsAtIndexPaths:
                  [NSArray arrayWithObject:[NSIndexPath indexPathForRow:indexToRemove inSection:0]]
                          withRowAnimation:UITableViewRowAnimationRight];
            }
        }
    }
    

    For more detail visit the Reference Link for the Tutorial and grab the source code form here

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

Sidebar

Related Questions

I want to create a menu like below for my iPhone app. Is it
This is what I would like: I want to keep the Silverlight default menu
That show up on menu bar It's like this question: How to create a
I have a menu like this Home About Privacy Shopping Contact Us I want
I created a site using drupal 6.I want to show primary menu items only
I want to show the output of the Linux command dialog --menu from my
I have a menu that changes and I want to show content in the
I'm working on a menu system where I want a ul to show as
I have added context menu to my google map like this: map.addControl(new ContextMenuControl()); it
I want when pointing from one menu to another menu, the menu looked like

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.