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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:59:42+00:00 2026-05-26T12:59:42+00:00

In my current Ipad app, I have a split screen view in which the

  • 0

In my current Ipad app, I have a split screen view in which the detail view is a scroll view containing 4 table views. The functionality I was trying to achive was that when I click any row of the table in the scroll view, a screen is show containing additional information and I used presentModalViewController to try to get this functionality.

say for example, I have 3 files aViewController, bViewController, cViewController.. I am writing the code for splitViewController in the appDelegate file of my project and I keep the 3 view Controllers (aViewController, bViewController, cViewController) as subviews of the
splitViewController…

Now in one of my ViewControllers, say aViewController, in its didSelectRowAtIndexPath, I add the code as follows

This is what I did,

PopOverControllerContents *popContents = 
        [[PopOverControllerContents alloc] 
         initWithNibName:@"PopOverControllerContents" 
         bundle:[NSBundle mainBundle]];
 popContents.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentModalViewController:popContents animated:YES

An important thing I want to mention is that, my app’s default orientation is landscape mode and hence I changed the orientation of PopOverControllerContents to landscape orientation.

When I build and run and when I click any row in aViewController, a popup view does come but its totally out of position and its bottom part gets cut off.

Would anyone be able to tell me what I am doing wrong and How I can correct it?

  • 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-26T12:59:43+00:00Added an answer on May 26, 2026 at 12:59 pm

    [UIViewController presentModalViewController::] supposes that your view controller is the root controller or it is somewhere in the controller hierarchy. When you say that your controller views are subview of a SplitViewController are they also its child controllers? You should try to present the modal controller from the SplitViewController or check that you controllers are it’s child controllers (new feature in iOS 5).

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

Sidebar

Related Questions

I have an iPhone app that I'd like to convert to an iPad app.
Current, I have a parent CWnd, which is displaying many other child CWnds. All
Am currently developing an iPad app which uses a UIScrollView. The UIScrollView is populated
I have an iPad app that has draggable UIViews contained in a larger parent
I have been working with Core Data in an iPad app and I can
I am creating an app which has version for both iPhone and iPad, iPad
Using iOS 4.3 on an ipad app I have a custom NSOperation that uses
I have a universal iPhone/iPad app. On the main menu I have a UIImage
I have 2 SOAP services that I want to call from an IPad app.
In our iPad app, a video stream is playing in a player view. The

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.