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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:30:37+00:00 2026-06-01T09:30:37+00:00

I have a modal view controller that I am presenting on iPad via: vc.modalPresentationStyle

  • 0

I have a modal view controller that I am presenting on iPad via:

vc.modalPresentationStyle  = UIModalPresentationFormSheet;
[self presentModalViewController:newDetailController animated:YES];

There are editable fields on the new VC. When I edit the field, the keyboard appears and covers up a chunk of the underlying VC.

How can I determine how much of the VC is obscured by the keyboard? On iPhone, this is simple as the presented VC is full-screen and the keyboard math is simple.

  • 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-06-01T09:30:38+00:00Added an answer on June 1, 2026 at 9:30 am

    There’s a UIView method to convert coordinates from a view’s coordinates system to another’s. Use that to get the coordinates of your view in the coordinate system of your UIWindow, that’s the system the keyboard uses, and it should become a lot easier.

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

Sidebar

Related Questions

I have a modal view controller that is displayed using: [self presentModalViewController:addStoryItem animated:YES]; on
I have a modal view controller that I put onto screen using presentModalViewController:animated .
I have a modal view controller that is presented from my main view, I
I have a main screen that presents a modal view controller. When the modal
I have a modal view controller that creates core data changes in it's own
I have a root view controller that opens up a new modal view controller.
I am presenting a modal view controller to show detailed information. I have it
I have a modal view controller that attempts to set an flag (an NSNumber
I have a modal view controller that initiates a process. If I dismiss the
I have a modal view controller that I am trying to present a web

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.