uipopover Questions

2

I know I can use popoverPresentationControllerDidDismissPopover but that is only called when the user taps outside the popover view to dismiss it. When I dismiss the popover manually (self.dismissV...
Boughpot asked 27/3, 2016 at 10:59

9

Solved

Does anyone know if UIPopoverPresentationController can be used to present popovers on iPhones? Wondering if Apple added this feature on iOS 8 in their attempt to create a more unified presentation...
Yockey asked 14/8, 2014 at 23:31

13

Solved

I'm trying to add a UIPopoverView to my Swift iOS 8 app, but I am unable to access the PopoverContentSize property, as the popover does not show in the correct shape. my code: var popover: UIPopov...
Ep asked 8/7, 2014 at 15:24

6

Solved

I am trying to use UIPopoverPresentationController to display a popover that doesn't take up the whole screen. I've followed many different tutorials with no luck. Here is my code. It correctly in...
Mural asked 8/12, 2014 at 7:59

1

Even though pop over background colour is clear there is a weird shadow behind the popover view this issue is happening only in 13.1 and 13.2 and it is working fine in 13 and below I can see in v...
Malpractice asked 18/10, 2019 at 9:24

4

Solved

I'm updating an app to use universal storyboards. I've created a popover segue to a new viewcontroller using interface builder by dragging from a button to my new viewcontroller and selecting 'Pres...
Insurgency asked 1/11, 2015 at 23:59

3

in iOS 13 it happens that the view of UIViewcontroller that is presented as model starts from the tip of the arrow. Because of it top banners in all of my popover gets cut. Can I prevent this from ...

13

Solved

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 = CGRec...

1

Solved

I have a button that show a popover over fullscreen, the main view has a 6 custom views that have 5 button with a tint color in grey or blue, depending of some parameter. but when the popover appea...
Radbourne asked 10/1, 2019 at 23:52

3

I'm doing some drawing on a custom UIView canvas, and rather than having a set of buttons at the bottom of the view to allow the user to select shapes, I'd like to have the user do a long press ges...
Schweiz asked 1/12, 2014 at 17:36

1

Solved

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 mak...

6

Solved

I have an UIPopoverController that presents an UIViewController using this method: [self.popover presentPopoverFromBarButtonItem:self.infoBarButtonItem permittedArrowDirections:UIPopoverArrowDir...

3

Solved

I was set the UIPopoverPresentationController to show the UIViewController and that like UIAlertView show. But when I created the customized UIViewController and use the UIPopoverPresentationContr...
Infusorian asked 25/2, 2015 at 0:40

1

Solved

In Swift, I'm trying to show a popover from a bar button item present in the top right position of navigation bar. Below is my code: func showOptions(sender: UIBarButtonItem) { let optionsVC = Op...
Lacuna asked 27/12, 2016 at 5:5

4

I have developed an app for iOS7 and now trying to update it for iOS8. Issue i have is the following: The app screen orientation can be rotated and a few buttons in some cases move drastically. I ...
Lubra asked 4/10, 2014 at 8:6

2

Solved

In my iOS8+ project, I am presenting a UIViewController using UIPopoverPresentationController: vc.modalPresentationStyle = UIModalPresentationPopover; vc.popoverPresentationController.delegate = s...
Keynesianism asked 14/11, 2015 at 11:48

2

Solved

I'm using UIPopoverPresentationController for popovers in an iOS app. When a navigation controller in a popover pushes a new view controller, the popover resizes to that view controller's preferred...
Bibliophage asked 22/9, 2015 at 14:29

3

Solved

I have a collection view and when a cell is selected it presents a popover view showing more information about that cell. I would like to allow the user to click another cell and then have the pop...
Irreligious asked 7/4, 2015 at 12:9

2

I'm using popover with my app. I want to enable touch outside when popoverview open. For now I can not touch outside of popoverview when i click the outside of popoverview , it disappear. Here is...
Sayce asked 27/1, 2015 at 8:43

1

Solved

I have a bar button item in the navigation bar that when pressed, will present a UIAlertController with the style as .ActionSheet. In the iPhone it appears just the way that I want. For the iPad I ...
Lafayette asked 29/4, 2015 at 16:23

0

I have an UIAlertController (UIAlertControllerStyleActionSheet) on iPhone which now should be presented in a UIPopoverPresentationController on the iPad version.. I am doing the following: UIPop...
Airhead asked 18/3, 2015 at 20:47

9

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 ...
Uneven asked 11/9, 2014 at 11:50

4

I have a button I have created programmatically within a view controller. Once the button is pressed I want it to to use a method to create the popover programmatically. The button which is create...
Yankeeism asked 8/2, 2013 at 10:55

2

Solved

I set a UITableViewController to be displayed in a popover on iPad : When I click on a row, I display an alert to warn the user of a potential destructive action. I used the new UIAlertController...
Tout asked 12/9, 2014 at 9:57

2

Solved

Currently, I'm using presentPopoverFromRect:inView:permittedArrowDirections:animated: to present my popover. But I'm looking for more fanciful animations (eg. the popover expanding from a particula...
Unassailable asked 11/6, 2013 at 2:52

© 2022 - 2024 — McMap. All rights reserved.