Questions tagged [uipopovercontroller]

The UIPopoverController class is used to manage the presentation of content in a popover. You use popovers to present information temporarily. The popover content is layered on top of your existing content and the background is dimmed automatically. The popover remains visible until the user taps outside of the popover window or you explicitly dismiss it. Popover controllers are for use exclusively on iPad devices.

The popover content is layered on top of your existing content in a special type of window. The popover remains visible until the user taps outside of the popover window or you explicitly dismiss it. Popover controllers are for use exclusively on iPad devices. Attempting to create one on other devices results in an exception.

UIPopoverController Class Reference

1718 questions
10
votes
4 answers

How do I prevent UITableView separator color from turning black in UIPopoverController (iOS7)?

My app uses a UITableViewController, which is a child of UINavigationController, which is the content view controller of a UIPopoverController. I am customizing the appearance of the UITableView of the UITableViewController. It works perfectly for…
jeremywhuff
  • 2,911
  • 3
  • 29
  • 33
10
votes
2 answers

UIPopoverController dismisses without delegate call

I have a map view which i am adding and removing annotations from based on a switch in a popovercontroller. When i touch outside the popover, it dismisses correctly and calls the delegate method popoverControllerDidDismissPopover: The problem that…
user1359733
  • 101
  • 5
10
votes
1 answer

UISplitViewController iOS 5.1 causes popover arrow direction error

My app was working perfectly prior to iOS 5.1. It is a UISplitviewController with a UINavigationController in the left-hand pane, and updates the detail pane dependent upon choices made within that UINavigationController. The new sliding-in from…
9
votes
4 answers

UIPopoverController and UINavigationController cuts corners

I have a problem with the display of my popover. After initWithContentViewController: and presentPopoverFromBarButtonItem:permittedArrowDirections:animated: it cuts corners of the navigation bar. How should I fix it?? Thanks. This is the code I'm…
9
votes
3 answers

How can I get the selected text frame from a UITextView

I'm trying to display an UIPopoverController from the rect of a selected text in an UITextView, How can I get the selected text CGRect ? Thanks!
user330885
9
votes
7 answers

Dynamic UITableView height in UIPopoverController (contentSizeForViewInPopover)?

I have an ipad popover that contains an UITableView. After the table is populated, it usually has a few items in it only (4-5), so I'm looking for a way to resize the popover (contentSizeForViewInPopover) to the actual table height (the summed…
Rad'Val
  • 8,895
  • 9
  • 62
  • 92
9
votes
2 answers

UIPopoverController Not Animating

I have an iPad app that has an MKMapView embedded in a UINavigationController which is displayed in a UITabBar. I am displaying a popover controller over the map with UIPopoverController *myPopoverController = [[[UIPopoverController alloc]…
Kristopher Johnson
  • 81,409
  • 55
  • 245
  • 302
9
votes
2 answers

UIPopovercontroller Parent?

How can "perform selector" to the parentviewcontroller of the uipopovercontroller? I have uipopovercontroller lanuched from uiviewcontroller, and this uipopovercontroller includes other uiviewcontroller. I can't seem to reach the parent view…
Avi Tsadok
  • 1,843
  • 13
  • 19
9
votes
2 answers

ipad detect when UIPopoverControllers are dismissed

I have several uiPopoverControllers in my universal iPad app. I now have a requirement to trigger a function once a certain popover has been dismissed. I can do this easily if the user clicks "close" inside the popover, but if they touch the screen…
Matt Facer
  • 3,103
  • 11
  • 49
  • 91
9
votes
3 answers

<_UIPopoverBackgroundVisualEffectView> is being asked to animate its opacity

I am trying to show an (AlertController) Action sheet. But I am getting this waning in console " <_UIPopoverBackgroundVisualEffectView 0x7fd65ef76ec0> is being asked to animate its opacity. This will cause the effect to appear broken until opacity…
9
votes
4 answers

UIPopoverPresentationController dimming background darker

I want darker background dim color for UIPopover. I know this can be achieved by subclassing UIPopoverBackgroundView as mentioned here but I am looking for any simpler way to do this. P.S. I am using Objective C not Swift.
Sasi
  • 1,666
  • 2
  • 24
  • 44
9
votes
2 answers

How to dismissPopoverAnimated on iPad with UIPopoverController in MKMapView (SDK3.2)

I have a MKMapView (also a UIPopoverControllerDelegate) with Annotations. This MapView has, in the MKTestMapView.h file, a UIPopoverController* popoverController defined in the @interface and a @property (nonatomic, retain) UIPopoverController*…
Jann
  • 2,214
  • 3
  • 28
  • 45
9
votes
3 answers

UIActivityViewController issue iOS 7 and iOS 8?

I’m building an article reading app for iPad. I have integrated a social sharing functionality which means user can share articles on Facebook, and google mail. I’m using UIActivityViewController for sharing. There is a bar button item,when user…
Daljeet
  • 1,573
  • 2
  • 20
  • 40
9
votes
2 answers

UIPopoverController moves strangely on iOS 7 when keyboard appears

I have a UIPopoverController with a text field in it. On iOS 6, when the user taps the text field and the popover happens to be in the way of the keyboard sliding onscreen, the popover moves nicely out of the way. On iOS 7, it flies to the edge of…
Greg Maletic
  • 6,225
  • 8
  • 54
  • 73
9
votes
2 answers

IOS7 navigatinBar tintColor change in popover

I developed iPad application. I'm opening some screens in popover with navigation controller. But I did not change navigationcontroller tint color in IOS 7. How can I change this color. thanx UINavigationController *navigationController =…
hiwordls
  • 781
  • 7
  • 17
  • 35