uipresentationcontroller Questions

8

Apple has finally released an Apple Maps-style "bottom sheet" control in iOS 15 in 2021: UISheetPresentationController. This type of sheet natively supports "detents", the heigh...

6

Solved

I'm trying to show a popup using a custom UIPopoverPresentationController class. But it crashes with the error(<UIPopoverPresentationController: 0x7a772950>) should have a non-nil sourceView ...

4

Solved

I am building a custom GUI on a universal app for iPhone and iPad. On iPad it relies heavily on "sideViews" for utilities like content manipulation, detailInformation and the like (think of an adva...

5

Solved

I have a CustomPresentationController which animates in and out with custom animations; This specific controller gets presented, more less at 50% of the screen size, and when I present it, I add a...

10

I'm trying to load a UIViewController in iPad with Form Sheet presentation. The problem is the size of this new view, i put the size values in the IBuilder but the modal view take a fixed value. A...
Nest asked 13/5, 2013 at 8:56

1

Solved

I use UIPresentationController to show bottom tip. Sometimes the presentationController may present another controller. And When the presented controller is dismissed, the presentationController's ...
Saxena asked 13/5, 2019 at 9:6

4

Screenshots : I am getting a lot of these crashes but the problem is I'm just being pointed to my appDelegate first line. I've no idea where to look for the issue. Any ideas where I could st...
Inesinescapable asked 13/2, 2018 at 10:42

0

I'm subclassing UIPresentationController to create a custom presentation/transition of a pop up UIViewController. The popup view itself should be constrained in the frame of the presenting view con...

2

Solved

I am having trouble understanding the UIKit crash reports that I am receiving: Is there a way of finding out what line of code caused this: Crashed: com.apple.main-thread 0 UIKit 0x195694264 __56...
Choking asked 10/10, 2017 at 9:46

1

I'm using a custom presentation controller to make something similar to UIAlertView. I want it to move up when the keyboard shows. In the UIKeyboardWillShowNotification handler, I'm grabbing the ne...
Plast asked 22/4, 2015 at 18:7

5

I am presenting a UIViewController using a custom transition and a custom UIPresentationController. The view controller's view does not cover the entire screen, so the presenting view controller is...

1

I am trying to make a popover like the one in session 214 of 2014's WWDC. So I started building my app using the IB having two views connected by a "Present As Popover" segue, as such: The popov...

1

I am using view controller containment to manage a set of child view controllers which should be able to modally present other view controllers in a custom manner. I have run into an issue where t...

3

Solved

Environment iOS 9.2 Xcode 7.2 I'm looking to replace the UIWindow's rootViewController with an animation while also removing it from the view hierarchy as well. class FooViewController: UIViewCon...
Sporocyst asked 15/1, 2016 at 14:58

1

I've tried searching for this, but no luck, so hoping there are some guru's who may know the answer. I'm seeing loads of reports in iTunes Connect of my app crashing with a particular stack trace,...
Faultfinder asked 16/9, 2016 at 11:14

2

Solved

I had a working custom UIPresentationController prior to Xcode beta 2 and iOS 10 beta 2. I haven't changed any code, but the presentation is now being presented with the standard modal presentation...

2

I've been following this tutorial on implementing custom view controller transitions in iOS 8 with UIPresentationController, and so far it all makes sense, but I can't seem to get my view controlle...

3

Solved

I'm moving over to UIPresentationController based presentations for my view controllers but have run into some confusion with the API. I have a custom sidebar style view controller presentation (s...

2

Solved

I'm using a custom UIPresentationController subclass to manage the presentation of a UIViewController. I'm overriding - (CGRect)frameOfPresentedViewInContainerView to provide a frame that is inset ...
Homan asked 22/2, 2016 at 7:3

1

Solved

When performing some network operations, I present a modal view controller (similar to MBProgressHUD but as a view controller) to prevent user interaction and indicate progress. The view controll...

1

I am currently trying to present a view controller using a UIPresentationController. My issue is, when my custom transitioning delegate calls func presentationControllerForPresentedViewController...
Vaporescence asked 1/8, 2015 at 18:58

1

Solved

I am presenting a modal view controller using UIPresentationController. I am setting the frame of presentedView less than the containView's bounds using following method: override func frameOfPres...

2

Solved

Hi is there any way to open an UIPresentationController when swipe left is triggered and it's click Edit ? func tableView(tableView: UITableView, editActionsForRowAtIndexPath indexPath: NSIndexPa...
Spindrift asked 6/9, 2015 at 12:15

2

Solved

I'm building an iOS 8 app and using UIPresentationController to present a view controller in a custom way. (see my previous question about this here: Replicating the style of the iOS Mail App's...
Butterfield asked 18/3, 2015 at 13:44

1

I'm experiencing a crash on iOS 8.1 (device and simulator) when attempting to do a custom presention a UIViewController with a custom UIPresentationController subclass. The exception raised prints...
Freeswimming asked 29/11, 2014 at 2:6

© 2022 - 2024 — McMap. All rights reserved.