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

  • Home
  • SEARCH
  • 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 8661289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:27:43+00:00 2026-06-12T16:27:43+00:00

I am using a popover that contains some input fields. Because the iOS keyboard

  • 0

I am using a popover that contains some input fields. Because the iOS keyboard covers large screen area, sometimes I need to correct the popups location (by moving its target and calling -presentPopoverFromView:targetView on the popover). I assume that I cannot determine the popup’s view rectangle precisely but having the arrow direction and content size, I could approximate its current location.

The problem is that I am getting constantly unknown direction (UIPopoverArrowDirectionUnknown) even when the popup is clearly visible.

In iOS 5.1 UIKit.framework, header file UIPopoverController.h we can read that we can get the present direction of the popover arrow (one of up, down, left, right, unknown). The only condition is that the popover needs to be presented.

 /* Returns the direction the arrow is pointing on a presented popover. Before     presentation, this returns UIPopoverArrowDirectionUnknown.
  */
 @property (nonatomic, readonly) UIPopoverArrowDirection popoverArrowDirection;

We can determine if the popover is presented with a getter isPopoverVisible:

 /* Returns whether the popover is visible (presented) or not.
  */
 @property (nonatomic, readonly, getter=isPopoverVisible) BOOL popoverVisible;

But despite I can see the popover arrow aiming up or down etc. and the myPopover.isPopoverVisible == YES, the arrow direction is still myPopover.popoverArrowDirection == UIPopoverArrowDirectionUnknown.

The popover is presented by:

[self presentPopoverFromRect:sourceView.frame inView:sourceView.superview
    permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];

EDIT (solution)

I had iOS 5.0.1 installed on my device (iPad). The compilation target was 5.1. After updating the device to 5.1 the problem disappeared completely.

  • 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-12T16:27:44+00:00Added an answer on June 12, 2026 at 4:27 pm

    I had iOS 5.0.1 installed on my device (iPad). The compilation target was 5.1. After updating the device to 5.1 the problem disappeared completely.

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

Sidebar

Related Questions

I am using a pop over controller in a view that contains table view.
I'm using a popover controller in my iPad app. In iOS 5, the popover
When using a UISplitViewController in portrait , I have a settings popover that I
I am using an iPad .. In that there is a popover controller .
I am using jQuery's $.ajax() to get some data. I'd like to include that
I'm using a UIStoryboardPopoverSegue to present a popover for an iOS 5 iPad app.
I'm using the popover object from Twitter's Bootstrap library in manual mode and I
I tried to achieve the following using Twitter Bootstrap 2.0 and it's popover-plugin, but
I am using the split view template to create a simple split view that
Is that possible to present a UIImagePickerController inside a view, instead of using it

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.