Skip to main content

All Questions

Tagged with
1 vote
1 answer
715 views

How can I ensure iOS 13 modal view controllers present the right status bar colour?

With the new iOS 13 view controller changes, view controllers are being presented that don't cover the whole screen. They instead leave a black space at the top. However, the system status bar is not ...
Tom H's user avatar
  • 1,316
0 votes
1 answer
199 views

UIViewController automatic presentation on top of full screen presentation

I have a few UIViewControllers that present on top of one another using modalPresentationStyle = .fullScreen. I want to present another one on top using the .automatic style. This works okay, but does ...
Zach Shea's user avatar
0 votes
1 answer
70 views

ViewController reloads on presenting alert controller swift

I am working on project. i have added a simple alertController on clicking signup button. when i click on the button my viewcontroller reloads and then it shows that alertController. It is happening ...
Hasnain ahmad's user avatar
1 vote
1 answer
86 views

Following is my viewcontroller ,it has margin from top in phone with notch display. What need to be done?

Image Of the View Controller On Phone I have tried setting modalPresentationStyle to fullscreen but did not work. It is working beautifully in devices without notch display. In Storyboard changed the ...
Pranav Kapadne's user avatar
1 vote
0 answers
30 views

Swift - Display glitch on iOS 13 on presentViewController [duplicate]

I recently upgraded all my iOS devices to iOS 13.3 and I noticed something that looks like a display glitch. Every time I move from one VC to another using presentViewController, I am able to see the ...
daydr3am3r's user avatar
1 vote
2 answers
457 views

Use presentation like actions iOS 13

I want to implement the presentation of controllers as in the standard applications Mail, Music and as in the UIActivityViewController. This controller shows on half by default and if you swipe, the ...
Dmitry Kuzin's user avatar
0 votes
3 answers
2k views

How to use old method of setting rootViewController in AppDelegate using Swift [duplicate]

I just started a new project of iOS. I created the project using xcode 11 and iOS 13. When I created project i found out that in order to set our own rootController we have to use sceneDelegate ...
Hasnain ahmad's user avatar
7 votes
0 answers
214 views

iOS 13 UIViewController doesn't state restore its modalPresentationStyle to fullscreen

I've adopted the new iOS 13 modal presentation style across most of the modals in my app, however one navigation controller doesn't really fit the new style well so I set it to ...
jimbobuk's user avatar
  • 1,221
0 votes
1 answer
103 views

UINavigationBar bleeding its background when PageSheet is animating

My application has a UIViewController where uses the new .pageSheet modal presentation style introduced on iOS 13. This UIViewController has a UINavigationBar on the top and it's pinned, by ...
Pedro Paulo Amorim's user avatar
0 votes
1 answer
27 views

ViewController Only Presented after User Touches the Screen

I have an app in which I present a menu modally. Then, when the user selects a menu option, the menu dismisses itself and upon completion, presents another view modally according to what button the ...
Gergely Kovacs's user avatar
2 votes
0 answers
101 views

iOS 13 PageSheet parent UIViewController not fading to black

I am migrating my app to support the new PageSheet style of UIViewController and I noticed that the view controller in the background is not fading like expected, it should get darker like visible in ...
Pedro Paulo Amorim's user avatar
14 votes
4 answers
12k views

iOS 13's presentationControllerDidDismiss() Not Called for Popover in Compact Environment

I am updating my app for iOS 13’s new “card-style” modal views. All has been working well using UIAdaptivePresentationControllerDelegate’s presentationControllerDidAttemptToDismiss() and ...
coping's user avatar
  • 825
1 vote
1 answer
3k views

iOS 13 Fullscreen UIImagePickerController?

I'm updating an app for iOS 13 support and one of the requirements (for now) is to convert all of the modal UIViewControllers back to UIModalPresentationStyle.fullScreen, but the ...
Lucas P.'s user avatar
  • 4,422
1 vote
1 answer
97 views

UINavigationController adds auto padding to the left of the pushed view

I Have two viewControllers. One is home page, other is detail page. if I make them window's root view controller they look like this: This is My Home Page This is my details page but when I make my ...
Asgencer's user avatar
1 vote
2 answers
2k views

How to lock orientation of one view controller to landscape mode [iOS13]

I have this solution: How to lock orientation of one view controller to portrait mode only in Swift It was working fine but now on iOS 13 it didn't work anymore. I try this solution: Screen rotation ...
Dam's user avatar
  • 577

15 30 50 per page