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
12
votes
2 answers

How to remove shadow behind popovers on iOS 9?

In iOS 8, popovers had no shadow. Now in iOS 9, there is a very heavy and far reaching shadow that can look less than desirable on pure white backgrounds. How can that shadow be removed, and instead add a thin light gray line around the popover? Or…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
12
votes
9 answers

setContentViewController method in popover iOS8 causes app crash

The setContentViewController method in UIPopoverController seems to be causing an app crash in iOS 8. Just wondering if anybody else also faced this issue in iOS 8. This works without any issue in iOS 7. The error pointed in the exception seems to…
Padmika
  • 466
  • 6
  • 14
11
votes
2 answers

Custom popover for iPad/iPhone

In the iBooks application, the brightness, font and search views subclass UIPopOverController but without border. Is there any way to mimic those views?
Ashraf
  • 175
  • 2
  • 8
11
votes
4 answers

Swift: Popover dismiss callback

There are two UIViewConrollers in my Storyboard: MainViewController and SecondViewController. I'm going to show SecondViewController as a popover when user taps a button called Show Popover: //MainViewController override func prepareForSegue(segue:…
Maysam
  • 7,246
  • 13
  • 68
  • 106
11
votes
7 answers

Dismissing iPad UIPopoverController when BarButtonItem is pushed while it's open

Using a split view on the iPad, I have the following code: - (void) splitViewController:(UISplitViewController *)svc willHideViewController:(UIViewController *)aViewController withBarButtonItem:(UIBarButtonItem *)barButtonItem…
11
votes
1 answer

Showing UIImagePickerController in UIPopoverController with existing UINavigationController (adding back button)

So I have a UIPopoverController what houses my UINavigationController where I have my UITableViewController however one of my options on the UITableView is to go and select an image with the UIImagePickerController... Now on the iPhone I can simply…
10
votes
2 answers

prepareForSegue is not called after performSegue:withIdentifier: with popover style

I have a universal app, where I am sharing the same controller for a IPad and IPhone storyboard. I have put a UILongPressGestureRecognizer on a UITableView, that when a cell is pressed on iPhone it calls an action that perform a…
Leonardo
  • 9,607
  • 17
  • 49
  • 89
10
votes
1 answer

Crash/SIGABRT when I try to present a UIPopoverController

Hi I am at my wits end with what I am doing wrong here. I am using ios5 and nothing crashes if I do not call presentPopoverFromBarButtonItem. Has anyone experienced anything similar? I checked the apple developer forums, google, stack overflow and…
CPrescott
  • 285
  • 3
  • 10
10
votes
4 answers

UIPopOverController + UITableView - Hide popover when cell is selected

In my Popover controller, i'm having a table view. On selection of a cell, I want to hide the pop over. How can I achieve it.
Satyam
  • 15,493
  • 31
  • 131
  • 244
10
votes
3 answers

How to create Popover in ipad?

I want to develop a popover in my iPad application. A UIButton trigger will call the popover and that popover will contain a UITableViewController. First I need a popover. Need some example code or direction or link. Thanks in advance.
kernel.roy
  • 127
  • 1
  • 2
  • 9
10
votes
7 answers

Can I remove the arrow in the popover view?

I am asked to removed the arrow of the popover view. Is that violating human interface guidelines ? Is it wise to show a popover inside another popover ? If it is not violating human interface guidelines how to do that ?
thndrkiss
  • 4,515
  • 8
  • 57
  • 96
10
votes
3 answers

Using a UISegmentedControl in the footer of UIPopoverController

In my iPad app Viewfinder (iTunes Link), I'm trying to recreate the look of a UISegmentedControl as seen in the footer of Keynote's Build In popover: The iPad HIG suggests using a bottom-aligned UIToolbar, but the appearance is incorrect. This…
Fraser Speirs
  • 4,642
  • 3
  • 21
  • 15
10
votes
9 answers

UIPopOver and orientation change

In my app I have 3 UIPopOvers. They appear when user taps buttons in the toolbar. I need to make the popovers appear in the correct place when user rotates iPad if the popover is already opened (like the…
Knodel
  • 4,359
  • 8
  • 42
  • 66
10
votes
6 answers

Dismiss Popover after touch

I've created a popover inside my MainViewController when some button its touched using the UIPopoverPresentationController and set like it's delegate like it's showed in the WWDC 2014, in the following way : MainViewController.swift class…
Victor Sigler
  • 23,243
  • 14
  • 88
  • 105
10
votes
2 answers

iOS8 MGSplitViewController alternative

I am using MGSplitViewController library in my app. Till iOS7 it works fine but for iOS8 it is not working as expected because of the change of behaviour of UIPopoverController in iOS8. Attached is the screenshot of running MGSplitView code on iOS8…
XYZ
  • 597
  • 1
  • 7
  • 19