This question already has answers here:
Presenting modal in iOS 13 fullscreen
(27 answers)
Closed 3 years ago.
I have question about full screen. When I open my app home page appear full screen but when I change page, incoming page does not open in full screen. When I hold the page and push it down, it goes back to the old page. It's not like the page opens. Is there any way to fix it?
This is the new default behavior for modal presentations on iOS 13. Set your modal presentation style to .fullScreen if you want the pre iOS 13 behavior on iOS 13.
Related
This question already has answers here:
Is it possible to opt-out of dark mode on iOS 13?
(30 answers)
Closed 2 years ago.
Hi everyone I need information. I noticed that after installing xcode11 any new project I run this has enabled darkmode on the storyboard. is it possible to disable this function?
In Xcode, with the Storyboard open, go to the bottom left of the screen and look for "View as: |DeviceName|".
Tap it to expand the bottom window for the storyboard preview settings. You will see the middle setting is "Interface Style". Choose the empty one for Light and the filled one for Dark.
Heres a screenshot:
This question already has answers here:
Presenting modal in iOS 13 fullscreen
(27 answers)
Closed 3 years ago.
I have a problem after updating to Xcode 11 & Swift 5 (Screenshot below).
My ViewController always has strange top space.
Is this a bug? If so, how to fix this ?
It is not caused by Swift 5.0, but rather the framework. Starting iOS 13.0, all the modal presentation are default to that kind. One way to get that to the old default is to set your modal's presentation type to .fullScreen. If you're using Storyboard, you can get it done like so:
This question already has answers here:
How to disable back gesture in iOS 7 for only one view
(6 answers)
Closed 8 years ago.
I am using the UIPageViewController to display the linked data, on swipe. It is working for all devices, but the issues is on iPhone 5/5s if I swipe from the edge (black portion of the screen) of the phone it is pop the main view controller, instead of displaying the next child view controller.
How can handle this condition?
This is controlled by the interactivePopGestureRecognizer of the navigation controller. You can disable it using:
self.navigationController.interactivePopGestureRecognizer.enabled = NO;
This question already has answers here:
App Loading and Splash Screen
(4 answers)
Closed 9 years ago.
I have a question about the splash screen,as we know we can set splash screen by adding
Default.png” and “ Default#2x.png “ in project without any code,but If I want to add an animation before the splash screen disappear for example a view that appear then fade away ,how to do it?Thank you very mush!
Short answer, as far as I can see, is no.
Apple discourages that sort of thing in their guidelines, so I doubt it's going to be added any time soon. Their intent for the launch screen is to be a simple transitional screen the user sees while the OS handles some setup work, and not a "welcome" screen or noticable event.
This question already has answers here:
UIPopover How do I make a popover with buttons like this?
(2 answers)
Closed 9 years ago.
I'm remaking one of my iPhone apps that uses UIActionSheet into an iPad app and would like to add the action sheet within a UIPopoverController. I know this shouldn't be too difficult, but I'm very new to the whole popover design. Is there's an example I can take a look at?
You dont need to add it in Popover view. UIActionSheet is normally wrapped inside Popover view in iPad