Questions tagged [uipopover]

UIPopover is a common misrepresentation of UIPopoverController, which is used in iOS to manage the presentation of content in a popover.

UIPopover is a common misrepresentation of UIPopoverController, which is used in iOS to manage the presentation of content in a popover. The iOS SDK does not expose the popover view directly, instead it defines a way to wrap a given controller in an system-created popover.

Please use for all popover-related questions.

270 questions
0
votes
2 answers

Two UIPopovers in One View

I am trying to put two different UIPopovers in one view. I'm fairly new to objective-c, and programming in general, so instead of doing the smart, efficient method of having one popover and changing it's contents depending on how it is called, I…
0
votes
1 answer

UIPopoverController Delegate Problem?

I have a UIPopover that I want to use either -(BOOL)popoverControllerShouldDismissPopover:(UIPopoverController *)popoverController{ return NO; } or -(void)popoverControllerDidDismissPopover:(UIPopoverController *)popoverController{} on.…
Luke Baumann
  • 596
  • 12
  • 35
0
votes
1 answer

Stop UIPopover from dismissing automatically part II

Sorry I previously posted a question here, but The answers I got didn't work (probably my fault). Basically, I want to stop a UIPopover from dismissing automatically. I got to this piece of code: - (BOOL)…
Luke Baumann
  • 596
  • 12
  • 35
0
votes
2 answers

UIPopover problem

I have a view controller which contains a tableview.This tableview is displayed in the UIPopover controller in a parent view.I want the text from the selected cell in the popover controller to get set in a UITextField in the parent view and i want…
Sankar Chandra Bose
  • 377
  • 1
  • 12
  • 27
0
votes
0 answers

How to avoid having two UIPopoverPresentationControllers up at same time each from UIBarButtonItem in UItoolBar

I'm in the process of converting an old iOS app which uses UIPopoverController to the new UIPopoverPresentationController. I have two popovers (A & B) each initiated from a click on a UIBarButtonItem (butA, butB) in a UIToolBar. I have the popovers…
0
votes
1 answer

Getting a reference to the UIPopover that pops up in the context of a UISplitViewController in iPad Landscape

This is a follow up question to Dismissing a UIpopover regarding how to dismiss a popover. I have a similar situation but its a UIPopover in the context of a Master Detail iPad application. I basically create TWO Navigation Controllers (this is off…
0
votes
4 answers

UIImageView showing UIPopOver

I would like to fire up this event: - (IBAction)profilePop:(id)sender { ProfileViewController * profile = [[ProfileViewController alloc] init]; UIImageView * temp = ((UIImageView *)sender); profile.uid = [[[posts…
aherlambang
  • 14,290
  • 50
  • 150
  • 253
0
votes
1 answer

Using UIPopOver to navigate a different view

So I have a ViewController class called "TopNewsViewController". It gets pushed onto the NavigationController stack from RootViewController. In TopNewsViewController, I have a pop over that appears by clicking a button. It displays a Table View from…
darksky
  • 20,411
  • 61
  • 165
  • 254
0
votes
1 answer

what method is called after view is rotated

I want to change position of UIPopover after the view is rotated. can you tell me what method is called after view is rotated so that I can get the coordinates of UI elments in the final view rendered after rotation of view popover behavior in any…
Ankit Sachan
  • 7,690
  • 16
  • 63
  • 98
0
votes
2 answers

UISplitViewController portrait - popover problem in toolbar

I've take Apple's tutorial as example, and inserted in my iPhone app, to make it universal. The popover shows a menu with 4 options, each a UIViewController. If I select the 2nd, and then return to the first, the popover button, instead of staying…
Rui Lopes
  • 2,562
  • 6
  • 34
  • 49
0
votes
1 answer

How to set the popoverController border color

Does anyone know if it is possible to customize the UIPopover border colour? Thanks
0
votes
1 answer

Display UIPopViewController center in iphone and iPad in iOS

I am working on Xamarin.iOS, I want to display UIPopViewController in iphone and iPad in center Screen. The below way I try the code : public override void ViewDidLoad() { base.ViewDidLoad(); showButton.TouchUpInside += (sender, e) => { …
Harshad Pansuriya
  • 20,189
  • 8
  • 67
  • 95
0
votes
3 answers

Swift3: Crash on presenting pop over

let obj = MainStoryboard().instantiateViewController(withIdentifier: "SomeVC") as! SomeVC obj.delegate = self obj.modalPresentationStyle = .popover obj.popoverPresentationController?.sourceRect = CGRect(x: self.view.bounds.midX, y:…
sweta.me
  • 273
  • 1
  • 11
0
votes
0 answers

what approach does Apple IOS Maps use to show annotation details? (image attached)

What approach does apple use in it's IOS Maps apps for show the annotation details? For example to reproduce this in your own app would it be via creation of a View Controller in Storyboard and then use of the "popover" method, however in this case…
Greg
  • 34,042
  • 79
  • 253
  • 454
0
votes
1 answer

After a graph from "Charts by Daniel Cohen Gindi" graphs itself, a UIButton on the screen is no longer selectable

I am using the open-sourced Charts by Daniel Cohen Gindi: https://github.com/danielgindi/Charts I have a pie chart on my screen which graphs itself like this: //set pie chart data graphView.data = PieChartData(dataSets:…
Sami
  • 579
  • 5
  • 25