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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:35:34+00:00 2026-05-26T07:35:34+00:00

I created a new application using the Split View-based Application template. I then added

  • 0

I created a new application using the Split View-based Application template.

I then added an Action Button to the rootViewController navigation controller called actionButton.

When the button is pressed, I display an ActionSheet like this:

UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:nil 
    delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil
    otherButtonTitles:@"Admin Functions", @"Refresh Data", nil];
[actionSheet showFromBarButtonItem:actionButton animated:YES];
[actionSheet release];

After I press the button when in landscape mode it displays the action sheet in a popover which is pointing to the button (as I expected it to):

Landscape Mode

However, in Portrait mode it looks completely different and the menu comes up from the bottom of the rootViewController popover just like it does on the iPhone:

Portrait Mode

My question is, how do I make the ActionSheet appear at the top while in portrait mode, just like it does when in landscape mode?

Since this is a “utility menu”, it isn’t really tied directly to the data being displayed so it shouldn’t be part of the popover.

  • 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-26T07:35:35+00:00Added an answer on May 26, 2026 at 7:35 am

    This behaviour is by design, if it were a popover in portrait mode you would then have 2 levels of popover.

    This is technically possible by implementing your own version of UIPopover or using one someone has already written (WEPopover).

    However, this is a poor design choice. You say that the functions aren’t related to the data, however one is ‘refresh data’. I would replace the action button with a refresh icon such as the one Apple uses in ‘Find my Friends’:

    Refresh Button

    The other, ‘Admin Functions’, if not directly related to the data in the list, perhaps needs a new home, maybe with the main view of your app? It’s hard to say where is best to put it without knowing more about the structure.

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

Sidebar

Related Questions

I've created a new Pylons application and added a controller (main.py) with a template
I've created a new View-based Application in XCode. In the ViewController, the only code
I've just created a new view based application, and now I want to set
In Visual Studio 2010 Beta 2 I created a new navigation Silverlight application. Without
I'm new to using the split view for creating iPad applications. When I first
I've just created a new rails application using command: rails blog Now I'm following
I've created a C# WinForms application using VS2010. I'm new to creating user controls
Using XCode 4, I created a NEW TabBar Application using the default storyboard settings.
I want to create a new business application using the Django framework. Any suggestions
I am using the webapplicationbuilder class to create a new web application and have

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.