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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T19:28:03+00:00 2026-05-22T19:28:03+00:00

Getting lost in how things are supposed to be done in iOS. A couple

  • 0

Getting lost in how things are “supposed” to be done in iOS. A couple basic questions…

In normal .NET we can create forms (views) and raise them as dialogs through ShowDialog() which returns a value, etc. I want to accomplish the same idea with iOS using MonoTouch.

  • Is this.Add(myNewView); the correct way to show a view on top of the current view (like a dialog?)
  • How do you close it once the work has been done? (.NET equivalent of this.Close();)?
  • 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-22T19:28:03+00:00Added an answer on May 22, 2026 at 7:28 pm

    The most similar thing to .NET ShowDialog(), is to present modal view controllers.

    To do this, call the PresentModalViewController method of the parent controller that will display the view:

    this.PresentModalViewController(myModalController, true);
    

    To hide/dismiss it, call the DismissModalViewControllerAnimated method on the controller that is displayed:

    myModalController.DismissModalViewControllerAnimated(true);
    

    The boolean parameters indicate whether you want to animate the presentation/dismissal.

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

Sidebar

Related Questions

I'm getting totally lost and confused on how to use the new strongly typed
I've never had this issue before, so I'm somewhat lost. I'm getting two different
Getting started with NHibernate How can I generate identity fields in nHibernate using Hilo
Ok, I think I overcomplicated things and now I'm lost. Basically, I need to
I'm getting lost in the sea of allowable permissions in Drupal. I have a
We are getting very slow compile times, which can take upwards of 20+ minutes
I'm getting lost with Git branching model and the workflow that I want to
One of the things that is lost in the move to CouchDB is the
I am trying to see if I can port a .NET 4 project (specifically,
I have been trying to get CodeDom to work so I can dynamically create

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.