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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:19:21+00:00 2026-05-27T21:19:21+00:00

Note: Using Monotouch and doing all the UI Programatically. Hello everybody, I have a

  • 0

Note: Using Monotouch and doing all the UI Programatically.

Hello everybody,

I have a question.

I have this main UIViewController object, and I have 2 UIVIews inside it. This views will perform commands in some devices, etc. I’m planning to do some menu with a slider effect appearing from the left side as it’s drawn below. In this menu the user will select some buttons, and this is gonna make to change the another two UIViews.

Here’s my question:

I’m planning to use Modal View Controller as UIModalPresentationPageSheet, but how can It appear at the center of the screen horizontaly. I’d like to put it on the center on the left side. How can I change it?

If it’s impossible, should I use the UIPopover?

Image Below

enter image description here

Thank you.

Lyniker

  • 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-27T21:19:22+00:00Added an answer on May 27, 2026 at 9:19 pm

    I don’t think either will get you the animation effect you want. In general I would choose to slide in a view using UIView animation:

    if(IsDrawerVisible == false) {
        UIView.Animate(0.5, () => {
    
            DrawerView.Frame = new RectangleF(
                this.View.Bounds.Left + 300, 
                DrawerView.Frame.Y, 
                DrawerView.Frame.Width, 
                DrawerView.Frame.Height);
    
        }, UIViewAnimationOptions.CurveEaseIn); 
    }
    else {
        // Move the frame of the DrawerView by subtracting from Frame.X
    }
    

    Of course you need a reference point (usually the parent UIView’s left bounds) and do the appropriate calculations to move the “Drawer” component into view. This can be arbitrary though 🙂

    NOTE: If DrawerView is of type UIViewController / DialogViewController please use the new iOS 5 custom containment APIs or you’ll get some seriously wonky behavior. See my blog post on child view controllers here:

    http://blog.devnos.com/wont-somebody-please-think-of-the-children

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

Sidebar

Related Questions

Note: Using Monotouch. I have a directory called Images where I have all my
(note: I have labelled this C# but I am using Monotouch, so it might
Note: I'm using monotouch. Hello, I'm trying to develop the following UI: UIVIewController (root)
NOTE: Using .NET 2.0, and VS2005 as IDE Hello all, I'm working on logging
Note: I'm using Google Chrome Currently I have this test page http://www.evecakes.com/doodles/canvas_size_issue.htm It should
[NOTE: I'm using ASP.NET MVC2 RC2.] I have URLs like this: /customers/123/orders/456/items/index /customers/123/orders/456/items/789/edit My
Note: Using MySQL 4.0, which means no subqueries (at present). I have 2 tables:
( Note : I'm using Scala 2.7.7 here, not 2.8). I'm doing something pretty
First as a note I am using this plugin in a Rails app. Ok
Note: Using Rails 3.1 and current delayed_job gem. I have a User model that

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.