Post

Replies

Boosts

Views

Activity

how to reduce scanned ARReferenceObject file?
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.
2
0
507
Jul ’23
UIPageViewControllerDelegate’s didFinishAnimating function doesn’t get called when swapping pages without keeping off finger
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?
0
0
344
Feb ’23
Application is almost frozen while recording in Leaks instrument
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?
1
0
1.5k
Sep ’22
[once issue]there is large gap between collectionview contents and navigation controller
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
0
0
671
Feb ’22
UIPageViewController is slow when there are multiple pages with dynamic contents
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.
0
0
568
Dec ’21
Black screen appears during fast swipe of Page View Controller.
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?
0
0
598
Jun ’21
Page View Controller pages stuck in the middle during fast tap on PageControl
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 .
3
0
2.0k
Apr ’21
crash: failed to determine navigation direction for scroll
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?
2
0
2.1k
Mar ’21
Navigation bar with “Prefers Large Titles” and embedded PageViewController not collapsing
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 ?
0
0
586
Mar ’21
Button actions in today extension are not working in iOS 13.4; always redirects to host app
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?
0
0
588
Apr ’20
Action sheet stays in next viewController
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.
1
0
616
Mar ’20