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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:36:40+00:00 2026-05-20T12:36:40+00:00

I often see something like the bottom picture in iphone apps and was wondering

  • 0

I often see something like the bottom picture in iphone apps and was wondering if there is a standard way to achieve that.

To be clear, it is a view that covers half the screen, usually with buttons to choose different options. When I ask for standard way, I meant UITableView, UIAlertView, UIScrollView, etc…

iphone screenshot

  • 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-20T12:36:41+00:00Added an answer on May 20, 2026 at 12:36 pm

    Yes, it is called UIActionSheet. Here’s an example:

            UIActionSheet *takeAction = [[UIActionSheet alloc] initWithTitle:@"" 
                                                                    delegate:self 
                                                           cancelButtonTitle:@"Cancel" 
                                                      destructiveButtonTitle:@"Delete"
                                                           otherButtonTitles:@"New...", @"Open...", @"Save As...", nil];        
            [takeAction setActionSheetStyle:UIActionSheetStyleDefault];
    // use this to implement it with a tabBarController; similar ways to work with navBars
            [takeAction showFromTabBar:(UITabBar *)[[self tabBarController] view]];
            [takeAction release];
    

    As with an alertView, you respond to buttons with

    - (void)actionSheet:(UIActionSheet *)actionSheet 
    
        clickedButtonAtIndex:(NSInteger)buttonIndex
        {
            if (buttonIndex == [actionSheet destructiveButtonIndex]) {
                [self deleteIt];
            } else if (buttonIndex == [actionSheet cancelButtonIndex]) {
            } else if (buttonIndex == 1) {
                [self createNew];
            } else if (buttonIndex == 2) {
                [self openSaved];
            } else if (buttonIndex == 3) {
                [self saveAs];
            } else {
            }
        }
    

    Also, make sure to declare the viewController to be the delegate:

    <UIActionSheetDelegate>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I often see something like that: something.property|escape something is an object, property is it's
I often see something like attribute in error messages. What is this? Are there
I am looking at a codebase and I often see something like: public class
I often see something like... SELECT events.id, events.begin_on, events.name FROM events WHERE events.user_id IN
I've been running though some tutorials and often times I will see something like
I often see something like the following: UIBarButtonItem *anotherButton = [[UIBarButtonItem alloc] initWithTitle:@Show style:UIBarButtonItemStylePlain
I often see Simple (non-Flags) Enums declared like this: enum Something { Thingy =
I use MVVM architecture to decouple my application. That is, you often see something
I often see something like: NSArray *tmpArr = [[NSArray alloc] initWithObjects:@Info, nil]; self.userInfo =
Where I work, I often see code like that : public void Test(Models.User.UserInfo userInfo,

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.