Post

Replies

Boosts

Views

Activity

App Crashes in UICollectionView.m:3974
No Trace of My App is found in Crash Report. The last trace is from UIKitCore. -> Foundation [NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 288 (NSException.m:252) -> UIKitCore [UICollectionView _createPreparedSupplementaryViewForElementOfKind:atIndexPath:layout:withLayoutAttributes:applyAttributes:] + 1180 (UICollectionView.m:3974) What can be the possible causes for this type of crash?
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
135
Oct ’25
Scroll to Top gesture doesn't work when pressed in Status Bar.
I have created a paging app With SwiftUI TabView with TabViewStyle: PageTabViewStyle. In every page there is an UICollectionView holding a list of rows. Now I have used UIViewControllerRepresentable to show the view inside TabView. It works okay, but the Scroll to top gesture doesn't work here when pressed in the iPhones StatusBar. Is it a fault of TabView or I am missing Something? It may happen because of TabViews Scroll property. In UIKIT Views We needed to disable the scrollToTop property of scrollviews (Other then the desired one) is there any public API's for SwiftUI Views in replacement for setting scrollsToTop property?
4
2
583
Sep ’24
CollectionView (Inside a SwiftUI TABView as a Page) Doesn't scroll to top when Pressed near the notch area of the device.
I have created a paging app With SwiftUI TabView with TabViewStyle: PageTabViewStyle. In every page there is an UICollectionView holding a list of rows. Now I have used UIViewControllerRepresentable to show the view inside TabView. It works okay, but the iOS default phenomenon that when a user pressed out side the safeArea on top(near the notch), the collectionview auto scrolls to top, doesn't work. Is it a fault of TabView or I am missing Something?
0
1
426
Sep ’24
App Crashes in UICollectionView.m:3974
No Trace of My App is found in Crash Report. The last trace is from UIKitCore. -> Foundation [NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 288 (NSException.m:252) -> UIKitCore [UICollectionView _createPreparedSupplementaryViewForElementOfKind:atIndexPath:layout:withLayoutAttributes:applyAttributes:] + 1180 (UICollectionView.m:3974) What can be the possible causes for this type of crash?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
135
Activity
Oct ’25
Scroll to Top gesture doesn't work when pressed in Status Bar.
I have created a paging app With SwiftUI TabView with TabViewStyle: PageTabViewStyle. In every page there is an UICollectionView holding a list of rows. Now I have used UIViewControllerRepresentable to show the view inside TabView. It works okay, but the Scroll to top gesture doesn't work here when pressed in the iPhones StatusBar. Is it a fault of TabView or I am missing Something? It may happen because of TabViews Scroll property. In UIKIT Views We needed to disable the scrollToTop property of scrollviews (Other then the desired one) is there any public API's for SwiftUI Views in replacement for setting scrollsToTop property?
Replies
4
Boosts
2
Views
583
Activity
Sep ’24
CollectionView (Inside a SwiftUI TABView as a Page) Doesn't scroll to top when Pressed near the notch area of the device.
I have created a paging app With SwiftUI TabView with TabViewStyle: PageTabViewStyle. In every page there is an UICollectionView holding a list of rows. Now I have used UIViewControllerRepresentable to show the view inside TabView. It works okay, but the iOS default phenomenon that when a user pressed out side the safeArea on top(near the notch), the collectionview auto scrolls to top, doesn't work. Is it a fault of TabView or I am missing Something?
Replies
0
Boosts
1
Views
426
Activity
Sep ’24
Data Driven Custom UICollectionView Layouts sometimes Doesn't update after reloadData() is called
I have designed an UICollectionView with CustomLayout. The layout depends on the data. Whenever a new data pattern is appeared we update the data and call the UICollectionView reload data. But sometimes I found that although the data is updated, The layout remains unchanged.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
339
Activity
Oct ’23