iPhone 5 + IOS 7 UIPageViewController issue [duplicate] - ios

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;

Related

Swift full screen issue? [duplicate]

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.

IOS Swift Status Bar and Navbar strange space top after update to Xcode 11 and swift 5 [duplicate]

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:

Objective-C: Flip page automatically [duplicate]

This question already has answers here:
Is it possible to Turn page programmatically in UIPageViewController?
(18 answers)
Closed 6 years ago.
I use Page-Based Application in my project.
I have pageViewController with spineLocationMid and iPhone with landscape orientation. How can I automatically flip page after time interval?
Can You give the sample code what have you tried?

iOS 7 Status Bar mixing in with view [duplicate]

This question already has answers here:
Status bar and navigation bar appear over my view's bounds in iOS 7
(20 answers)
Interface Builder: What are the UIView's Layout iOS 6/7 Deltas for?
(6 answers)
Closed 9 years ago.
I am creating an application that will work in both iOS 6 and iOS 7. I have a view with a header image at the top. In iOS6 it works fine as it doesn't cover or interfere with the status bar at the top of the screen. However, in iOS 7 the view mixes in with the status bar and it looks terrible. I would need to know how to rectify this without it affecting iOS 6?
Select your view containing elements in Interface Builder.
Select Size Inspector tab from right menu.
in iOS 6/7 Deltas, give -20 in Delta-Y and 20 in Delta-height.
NOTE: not applicable using Auto-layouts.

iOS iPad how to create a UIPopoverController with UIActionSheet? [duplicate]

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

Resources