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

The Archive Base Latest Questions

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

How can I vertically flip a UIViewController which is presented modally along with a

  • 0

How can I vertically flip a UIViewController which is presented modally along with a UINavigationController and Done Button.

This is how I am presenting the UIViewController modally:

- (void)modalViewAction:(id)sender
{
    self.view = [[[UIView alloc] initWithFrame:[[UIScreen mainScreen] bounds] autorelease];
    [self.view setFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    _viewController = [[ModalViewController alloc] init];
    UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:_viewController];
    UIBarButtonItem * button = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(dismissView:)] autorelease];
    [_viewController.navigationItem setLeftBarButtonItem:button animated:YES];
    navigationController.navigationBar.tintColor = [UIColor brownColor];
    [self.navigationController presentModalViewController:self.viewController animated:YES];
    [self.view addSubview:navigationController.view];
    [navigationController release];
}

How can I flip this UIViewController whilst presenting it modally?

Thanks for your help.

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

    You can specify the desired animation technique by setting the modalTransitionStyle property (before presenting the view controller).

    Unfortunately this property can be set only to:

    UIModalTransitionStyleCoverVertical
    UIModalTransitionStyleFlipHorizontal
    UIModalTransitionStyleCrossDissolve
    UIModalTransitionStylePartialCurl
    

    So vertical flip it is not supported.

    Take a look at UIModalTransitionStyle reference:
    http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html

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

Sidebar

Related Questions

I can't seem to get this text to align vertically. Can someone please tell
I want button in vertically, for that i can extend the height and shrink
I've got a PictureBox, which can be moved vertically. The image displayed in the
I have a long web page (vertically) which can be thought of having 40
I'm doing custom drawing in datagridview cells and I have items that can vertically
How can I vertically align a Label and TextBlock at Top so that their
Can somebody share an experience concerning scaling vertically the ActiveMQ? I'm particularly interested how
I can split editor panes horizontally or vertically, but it does not seem possible
How can you tell whether the device is oriented vertically (portrait) or horizontally (landscape)?
I am using Eclipse & JDE 4.5.0 plug-in. How to align fields vertically. Can

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.