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
1 answer

Present Popover from Right Side of Table Cell Text Label

I am trying to present a popover from the textLabel of a table row when the accessory button is tapped. Ideally it would present from the far right edge of the label horizontally (which presumably varies based on text length), mid height of the…
DenVog
  • 4,226
  • 3
  • 43
  • 72
0
votes
1 answer

Is it possible to replace the UIView behind a popover (or a modal view) based on the popover actions?

Need to implement a popover (or a modal view), and based on selection in the popover, may go to another view once the popover is closed
Aviah Laor
  • 3,620
  • 2
  • 22
  • 27
0
votes
1 answer

'Popovers' to highlight areas of interest or new features?

I've noticed a lot of apps have a 'popover' that highlights areas of interest or new features (see pic for example). What are these called? I dont believe there is a ready made solution to these in Apple docs apart from iPad…
DevC
  • 6,982
  • 9
  • 45
  • 80
0
votes
1 answer

How to programmatically create a UITableView in UIPopover so it responds to -cellForRowAtIndexPath

I have 3 UITableViews in a class; one of the tableViews is programmatically created in a UIPopover where I assign it a tag. In -cellForRowAtIndexPath, I check the tag each tableView and configure the tableView depending on the tag id. The problem…
SpokaneDude
  • 4,856
  • 13
  • 64
  • 120
0
votes
2 answers

Popover not showing the content

I'm just trying to display a ViewController as a Popover, this is a small part of a big iPad application, and I've being trying to display the content with no success. The worst thing is that if I create the same scenario in an empty/new…
Cris R
  • 1,339
  • 15
  • 27
0
votes
1 answer

iOS - QuickLook returning no window subview

I try to display an FPPopover and for this I need a parentView. Everything is fine on first attempt. But after displaying a PDF in QuicklLookViewController, the number of subviews in windows is 0, so I cannot grasp the last element to use it as…
Trichophyton
  • 625
  • 5
  • 21
0
votes
4 answers

Detect popover dismiss in iOS8

in my iPad-app I connected a UIButton to another UIViewcontroller by just dragging in Storyboard and chose popover as segue. Everything is working fine, but the user can dismiss the popover by touching just somewhere besides the popover right. How…
irie
  • 189
  • 1
  • 9
0
votes
1 answer

Why does my view controller inside a UIPopoverPresentationController take up the whole screen?

I am in the process of upgrading an app from ios 7 to ios 8, and one of the areas I am having trouble with is the new UIPopoverPresentationController. For some reason, whenever I present a view controller using this class, the view controller does…
William Smith
  • 1,949
  • 4
  • 25
  • 45
0
votes
1 answer

Shift to UIPopoverPresentationController

I want to create the same popover for my iPhone app with size GGrect of (320 100.0). Here is my old code: View * pk1 = [[View alloc] init]; UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:pk1]; pop =…
0
votes
1 answer

Why this build error when trying to attach a UIPopover to a UIButton in a different class?

I am trying to incorporate a bar code scanning api into my ipad app (XCode5, iOS7, Storyboards). I can't seem to get it to work, although the code is executed. For the sake of brevity, the complete scan code can be found here. The problem appears…
SpokaneDude
  • 4,856
  • 13
  • 64
  • 120
0
votes
1 answer

How do I size a popover to the size of the contentview?

I have a popover which shows a UIViewController containing a UIView and a UILabel. I want the popover to grow/shrink to the size of the content of the UILabel. How do I do that? Here is the part of the UIViewController in the popover which now…
Tycho Pandelaar
  • 7,367
  • 8
  • 44
  • 70
0
votes
0 answers

iOS pop over - prevent window dismissal by tapping on background.

I have a popover window that inherits from a base class that derives from uiview. What I want to do is prevent users from dismissing the window if they tap on the background. The problem is that since the popover does not derive from uipopover…
CodeMilian
  • 1,262
  • 2
  • 17
  • 41
0
votes
4 answers

Popover getting crashes in iPhone

I am using below code for popover for iPad apps. Its working fine for iPad apps but when i use same code for iPhone its getting crash near " UIPopoverController* removeDefaultPopover=[[UIPopoverController…
Nithinbemitk
  • 2,710
  • 4
  • 24
  • 27
0
votes
1 answer

iOS 7.1 Nested UICollectionView in a UIPopover

I am working with a small team of developers on an iOS project for iPads. The project calls for a UIPopover with a UICollectionView nested inside. The collection will ultimately be icons. So in the end, it would be a popover containing a grid of…
KeithW
  • 1
  • 2
0
votes
1 answer

Adding PopoverviewController to UIBarButtonItem Xamarin IOS

Added popoverViewController to bar button public partial class MagicViewController : UIViewController { UIBarButtonItem btn_Setting; // UIPopoverController popoverController; SettingPopoverViewController settingController; …
kiran
  • 4,285
  • 7
  • 53
  • 98