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
36
votes
8 answers

iPhone popup menu like iPad popover?

How can i implement this popup menu in iphone app like a popover in ipad? EDIT: This is the best at moment: https://github.com/runway20/PopoverView
elp
  • 8,021
  • 7
  • 61
  • 120
36
votes
11 answers

How to correctly present a popover from a UITableViewCell with UIPopoverArrowDirectionRight or UIPopoverArrowDirectionLeft

I always try to present a popover from a cell inside a tableView this way: [myPopover presentPopoverFromRect:cell.frame inView:self.tableView permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES]; but I cannot use…
Omer
  • 5,470
  • 8
  • 39
  • 64
33
votes
10 answers

How to customize / style a UIPopoverController

I'm working on an iPad application and I'm using UIPopoverControllers. I'm at the part where the app needs to be branded and styled and i'm wondering how to change the color / tint of the UIPopoverController? Standard is dark blue but it needs to be…
Thomas Joos
  • 2,451
  • 5
  • 26
  • 30
30
votes
4 answers

Is it possible to perform a Popover Segue manually (from dynamic UITableView cell)?

I need to perform a Popover segue when user touches a cell in a dynamic TableView. But when I try to do this with this code: - (void)tableView:(UITableView *)tableview didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [self…
Hlib Dmytriiev
  • 303
  • 1
  • 3
  • 5
29
votes
4 answers

How to implement UIVisualEffectView in UITableView with adaptive segues

I would like to implement UIVisualEffectView to apply a blur effect to a view to show the view that lies behind it. This view that should have its background blurred is a UITableViewController that is embedded in a UINavigationController, and it…
Jordan H
  • 52,571
  • 37
  • 201
  • 351
28
votes
9 answers

UISplitViewController in a TabBar ( UITabBarController )?

I am in kind of situation that I need to start with a tab based application and in that I need a split view for one or more tabs. But it seems that split view controller object can not be added to the tabbarController. (Although tabbar object can be…
26
votes
2 answers

Dismissing a UIPopoverController from within its contentViewController?

If you want to dismiss a popover -- for example, from a button within the popover's contentViewController you must -- Create a reference to the popover to be held by view controller which creates it Create a notification from the…
memmons
  • 40,222
  • 21
  • 149
  • 183
26
votes
8 answers

How To Dynamically change the contentSize of UIPopoverController?

I have a UIViewController that contains a UITableView. This UIViewController is being displayed in a UIPopoverController. Now, the things is that the number of items in the tableView is not constant, and I want the size of the popover (that is - the…
Avi Shukron
  • 6,088
  • 8
  • 50
  • 84
26
votes
4 answers

iPad iOS7 - UIImagePickerController in UIPopoverController has wrong preview image

I am using an UIImagePickerController within an UIPopoverController which is working perfectly with iOS6. With iOS 7 the "preview" image which is shown to capture the image is rotated, but if I take a picture it is saved correctly. This is how I get…
25
votes
8 answers

How to pop from one view controller to another view controller

Using iOS I Have 15 ViewControllers now I want to pop from one ViewController to another View Controller. I am using this code: SecondViewController *Sec=[SecondViewController alloc]init]; [self.navigationController popViewController:Sec…
23
votes
4 answers

UIActivityViewController taking long time to present

I made an app for iPhone. Now, I'm recreating it for iPad. When the user selects the action button in the toolbar, a popover should show with a UIActivityViewController, but for some reason, it's taking about 10 seconds for it to show the first…
22
votes
4 answers

Change Action sheet popover arrow in iOS8

i'm using UIAlertController . But on iPad with iOS 8, actionSheet show with popover arrow. Any ideas to hide that arrow? Here is my code: UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"this is alert controller"…
TienLe
  • 614
  • 2
  • 9
  • 33
21
votes
13 answers

How to make UIPopoverController keep same position after rotating?

I can't keep popover the same position on the screen after rotation. Is there any good way to do that, because just setting some frame to popover works terrible after rotating.popover.frame = CGRectMake(someFrame); After rotation popover looks fine…
B.S.
  • 21,660
  • 14
  • 87
  • 109
21
votes
2 answers

Setting the "title" of a UIPopoverController?

I'm sure there's something obvious I'm missing here, but I know that popover controls can have "titles", a header area that has a line of text above the content view (e.g. the "Tools" popover in iWork). How can I add this in my own…
Ben Zotto
  • 70,108
  • 23
  • 141
  • 204
20
votes
4 answers

creating button for popover view anchor at run time

This may not be possible, but I'm hoping someone will have an idea how to do it. I have an app I'm porting from iPhone only to Universal. On the iPhone, I'm using a Tabbed application. I use three tabs for the normal data to be displayed. I have a…
Flyingdiver
  • 2,142
  • 13
  • 18