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
14
votes
5 answers

Set UIPopover arrow direction and position manually

I'm using UIBarButtonItem. In my scenario I want to show a popover from every bar button when I double-click that bar button. So I use a UITapGesture from that UIBarButtonItem. But, the popover arrow always appear in the middle of all…
R. Dewi
  • 4,141
  • 9
  • 41
  • 66
14
votes
7 answers

UIPopoverController without arrows?

I would like to know to make an UIPopoverController without arrows In fact I would like to simulate something like this: See that There is no arrows There is a title that is somehow inside of a expanded top border of the UIPopoverController and…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
14
votes
3 answers

Dismissing UIPopoverController with -dismissPopoverAnimated: won't call delegate?

I have my UIPopoverController with self as a delegate: I receive calls when I tap outside the popover controller, but when I tap inside I want to dismiss too, so I use -dismissPopoverAnimated: but delegate is not called in this case. Is this normal?…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
14
votes
2 answers

Retain/release pattern for UIPopoverController, UIActionSheet, and modal view controllers?

I'm somewhat unclear on the object ownership patterns required for the following instances. When my UIViewController presents a popover controller, an action sheet, or another view controller as modal, am I required to hang onto a retained reference…
Ben Zotto
  • 70,108
  • 23
  • 141
  • 204
14
votes
3 answers

Xcode5 iOS7 - UIPopoverController Corner Radius

I'm transitioning an application to iOS 7 which has been fairly smooth, there's one thing I cannot figure out. I have a view controller with a couple buttons that I display with a UIPopoverController. It looks to me like the popover controller is…
gngrwzrd
  • 5,902
  • 4
  • 43
  • 56
13
votes
3 answers

centering a uipopover in iPad

I would like to create a new keyboard for the iPad. I have designed a view that has the keys and all the underlying work to fill in a textbox as the user presses the keys, and passes the value back to the calling routine when the user presses the…
pithhelmet
  • 2,222
  • 6
  • 35
  • 60
13
votes
3 answers

UIPopoverController delegate not getting called on dismiss

I assign popover object o it's contentViewController and I put dismiss code in a button which resides in the content view controller. When the button is pressed: [self.popover dismissPopoverAnimated:YES]; is called and popover is…
frankish
  • 6,738
  • 9
  • 49
  • 100
12
votes
2 answers

UIPopoverController presentPopoverFromRect problem

I am trying to present a UIPopoverController when a UIButton is clicked. Here's my code: - (IBAction)showColumnChooser:(id)sender { ColumnChooserTVC *vc = [[ColumnChooserTVC alloc] init]; [vc setSelections:allColumns]; [vc…
0xSina
  • 20,973
  • 34
  • 136
  • 253
12
votes
5 answers

UIPopoverController, how to change the size of it?

I've got UIPopoverController in my Split-View application, I just need to make popover longer. In viewDidLoad of DetatilViewController I put: self.popoverController.popoverContentSize=CGSizeMake(320, 1400); Nothing happens( when should I put this?…
Vladimir Stazhilov
  • 1,956
  • 4
  • 31
  • 63
12
votes
3 answers

How to dismiss UIPopover from a button in the Popover

I am trying to dismiss a UIPopoverViewControler from a button in the Popover. In addition I want it to transfer the data back to the main view. I have it working for a modalViewController but not for a Popover. Does anyone know how I can achieve…
BDGapps
  • 3,318
  • 10
  • 56
  • 75
12
votes
1 answer

how to use popover controller in iPhone

I couldn't show popover controller as popover in iPhone whereas it works very well with iPad. Any ideas on how to do that in iPhone. As far as I have searched I couldn't find any. anyways to make the popover appear in iphone as it is in iPad is…
12
votes
1 answer

Error : No Component Factory Found. Did you add it to @NgModule.entryComponents?

I am trying to create a popover on my Home Page.So I have created following function.. public presentPopover(myEvent) { let popover = this.popoverCtrl.create(TestComponent); popover.present({ ev: myEvent }); } in my…
CuriousAboutThings
  • 454
  • 2
  • 5
  • 13
12
votes
2 answers

UIPopoverController & UIImagePickerControl: "Popovers cannot be presented from a view which does not have a window"

I am trying to display a UIImagePickerControl in my iPad app. At first, the debugger told me that I needed to put it in a popover when doing it on an iPad. So I wrote the following code: UIImagePickerController *imagePicker =…
Jason
  • 14,517
  • 25
  • 92
  • 153
12
votes
1 answer

UIPopoverPresentation without arrow

I am trying to present a UIViewController in an UIPopoverPresentationController but I dont really like the arrow feature. Basically what I want to do is to use an UIPopoverPresentationController without the arrow that comes with it. I am coding in…
meteorSD
  • 339
  • 3
  • 16
12
votes
1 answer

Get on screen coordinates of a certain UITableViewCell?

So, I have this UITableView. It's in an iPad application. Some of the cells have an accessory button on the right (the small round arrow). When that is pressed, I present a popover view where the user can select actions related to the table cell…
Jakob Borg
  • 23,685
  • 6
  • 47
  • 47