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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:17:55+00:00 2026-05-23T12:17:55+00:00

Not sure if someone can help me. I am trying to create a UIModalPresentationFormSheet

  • 0

Not sure if someone can help me.

I am trying to create a UIModalPresentationFormSheet with navigation. I can load the view but i am not sure how to setup the navigation controller so when a row in the tableloaded loads the edit screen. At the moment it loads a uiviewcontroller with a tableview on it from the main screen. I need to allow editing on the table to add/edit delete records. When the user clicks either add or edit a new uiviewcontroller(detail view) is pushed to screen. It would be better if i had a navigation controller right? but i do need the edit buttons and back on the nave bar.

I think i have the button adding working its more just setting up the navigationcontroller

RootViewController – TableView select a row it loads the DetailViewController

DetailViewContoller – DetailView – Contains a button that loads the FormView as a UIModalPresentationFormSheet see link below.

FormView – Loads UIModalPresentationFormSheet
Formsheet – Tableview with data in it. Editing this data loads the FormDetailView
http://www.bronron.com/iphoneDev/screen1.png

FormDetail view – viewcontroller with save and cancel buttons on nave bar
http://www.bronron.com/iphoneDev/screen2.png

Any help would be greatly appreciated. Many thanks in advance

Thanks,
Azz

  • 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-23T12:17:56+00:00Added an answer on May 23, 2026 at 12:17 pm

    When you load the UIModalPresentationFormSheet Formsheet, simply add:

    UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:/*the formsheet*/];
    

    Then just add navController to the modal view, instead of the root view. Then you will be able to add buttons and push viewControllers, etc.

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

Sidebar

Related Questions

I'm not sure what this practice is actually called, so perhaps someone can edit
I have a situation I'm not sure how to debug. I'm hoping someone can
Not sure if the title is quite right for the question but I can't
Ok, so I'm not quite sure the difference between these languages. Could someone clarify?
Not sure how to ask a followup on SO, but this is in reference
Not sure what exactly is going on here, but seems like in .NET 1.1
Not sure if anyone listened to Hanselminutes episodes 134 and 135, but at the
I am trying to create an application where users can select a date and
Im not sure this is the correct forum for this type of question, but
I am learning how to create view using SQL server. I am trying to

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.