i have two bar button item in navigation controller based ViewController(A)barButtonItem 1: which will navigate to a next page(ViewController B)barButtonItem 2: which will show a action sheet as popover(using iPad)when Action sheet is being shown as popover in ViewController-A in iPad, if i tap on barButtonItem1, the action sheet is visible in next page(ViewController-B) as top left corner sometimes.This issue should be resolved. Action sheet should not be shown in next page.
Post
Replies
Boosts
Views
Activity
I have some buttons as well as actions in today widget extension.Below 13.4, everything is working fine(button actions) both inNotification Center and opening widget by 3D Touch.But from 13.4, button actions are not working when I open my widget by 3D Touch.Rather it always redirects to host app. Not only that, whenever I tap on today extension, rather than button area, it moves to Hostapplication.Does anyone have any idea how to resolve this issue?
I have setup a "UIViewController" (Embedded in "UINavigationController"), and the "UIViewController" has a "ContainerView" with a "UIPageViewController".
In the "UIPageViewController" are few subviews with "UITableViews".
The problem is now, the "UINavigationBar" with enabled "Prefer Large Titles" are not collapsing if the TableView (Embedded in ContainerView) scrolls.
I think that's a problem with the "UIPageViewController". The size is the same as the ContainerView.
How can i fix this issue ?
Device: iPad Pro,
S/W version: 13
I have pageViewController with variable number of pages.
Each page contains a collection view.
Whenever a user swipes left and right and vice versa, and at the same time, swipes up, application is sometimes crashed.
with the following information:
NSinternalInconsistencyException
Failed to determine navigation direction for scroll.
Would you please let me know how to resolve this issue?
I have a PageViewController with PageControl. if I tap on pageControl too fast, sometimes it happens that, two pages are being shown as half.
That is, One page is being shown as a small portion and the other page is being shown as rest of the portion.
This issue happens only when I tap on pageControl too fast.
How to resolve this issue?
Please note that, in iPhone application menu/Home screen, they also used PageViewController. But during fast tap of pageControl, they somehow slowed down the swiping of pages .
Sometimes I am getting Black screen during fast swipe of pageViewController.
in iPhone home screen, if I want to fast swipe, system somehow slows it down.
And Apple also used page view controller in home screen.
To overcome black screen , I want to slow page view controller swipe. But I could not find any delegate method to resolve this.
So my query is two:
How to resolve black screen appearance during fast swipe of page view controller?.
if I want to make page swipe to slow, how to do it just like Apple did in their iPhone/iPad home screen?
Suppose there are some pages in page view controller.
and large title is enabled.
Each page has tableview.
let's say, one page's navigation bar is collapsed and just before or after page navigation bar is being shown large title.
if I swipe left or right, the large title is jumped off the navigation bar.
How to resolve this issue?
I have a page view controller. it has at most 30 pages.
each page contains a collection view. in collection view, i have to show information which contains images and text from server. and it will have at most 500 contents.
Please note that, my pageViewController is in tabBarController.
So, When i tap on one of my tabs, the pageViewController will be shown.
The issue is, During first initialization of my pageViewController it's very very slow. take almost 3~4 seconds depends on how many pages and contents are in pageViewController.
My query is , how to overcome this issue?
as a side note, i am downloading from server through async operation.
I have a collection view with custom layout.
and it has different kinds of dynamic contents.
suddenly when i tap on an item, go to next viewController and move back to collection view, there is a large gap between navigation controller and collection view content.
could someone please share how to resolve this issue or how to find out the cause?
please note that, collection view resides in a pageview controller
I have an application which is almost 1.5GB.
While detecting leaks though leaks instrument, I can't check.
Because my application is frozen during recording and if I tap on a button in my application during that time, it takes around 5 minutes to execute.
After a while app is totally frozen and I can't detect leak.
Need your valuable feedback to resolve this issue.
How to detect leak easily in my application through Leaks instrument tool?
UIPageViewControllerDelegate provides the following function:
func pageViewController(_ pageViewController: UIPageViewController, didFinishAnimating finished: Bool, previousViewControllers: [UIViewController], transitionCompleted completed: Bool)
This gets called only when we swap pages and keep off finger.
But if we swap page with one finger and hold the next page with a second finger
and keep swapping (i.e. both fingers on the screen swapping pages continuously without stopping) then didFinishAnimating never gets called.
If this function is designed only to get called after the transition fully finished then there should be some delegate function which gets called when 1 single page is swapped without keeping off the finger (i.e. continuous swapping).
How to get this behavior from pageViewController?
While making ARKit object detection application,
the scanned object(ARReferenceObject) is 5~20MB for detecting an object smoothly.
Is there a way to reduce this size?
Why is it needed?
I have more than 200 objects to detect. and if an object takes 5MB, then almost 1GB will be occupied only for my application, which seems not appropriate.