-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[iOS 15] CollectionView with CollectionViewHandler2 configured, is crashing app on iOS 15 (15.2) #26997
Copy link
Copy link
Closed
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewcollectionview-cv2p/2Work that is important, but is currently not scheduled for releaseWork that is important, but is currently not scheduled for releasepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
iOS 15 and iOS 15.2 (tested only those versions) make application crash when rendering CollectionView with CollectionViewHandler2 configured. Meanwhile iOS 17 and iOS 18 works fine.
Steps to Reproduce
- Configure CollectionView with CollectionViewHandler2 in MauiProgram.cs.
- Use CollectionView on MainPage and try to add some items into ItemsSource.
Actual result: application is failed to start for iOS 15/15.2.
Expected result: application works fine like on iOS 17/18.
Please check reproduction repository with iOS 15.2 simulator run.
Link to public reproduction project repository
https://github.com/vitalbit/CollectionViewHandler2_IOS15_Sample
Version with bug
9.0.21 SR2.1
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
iOS 15, iOS 15.2
Did you find any workaround?
Nope :(
Relevant log output
Microsoft.Maui.Controls.Handlers.Items2.ItemsViewController2<Microsoft.Maui.Controls.ReorderableItemsView>.CheckForEmptySource (Unknown Source:0)
Microsoft.Maui.Controls.Handlers.Items2.ItemsViewController2<Microsoft.Maui.Controls.ReorderableItemsView>.NumberOfSections (Unknown Source:0)
ObjCRuntime.Messaging.void_objc_msgSendSuper (Unknown Source:0)
UIKit.UIViewController.LoadView (UIViewController.g.cs:691)
Microsoft.Maui.Controls.Handlers.Items2.ItemsViewController2<Microsoft.Maui.Controls.ReorderableItemsView>.LoadView (Unknown Source:0)
ObjCRuntime.Messaging.NativeHandle_objc_msgSendSuper (Unknown Source:0)
UIKit.UIViewController.get_View (UIViewController.g.cs:3275)
Microsoft.Maui.Controls.Handlers.Items2.ItemsViewHandler2<Microsoft.Maui.Controls.ReorderableItemsView>.CreatePlatformView (Unknown Source:0)
Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.Controls.ReorderableItemsView,UIKit.UIView>.OnCreatePlatformView (Unknown Source:0)
Microsoft.Maui.Controls.Handlers.Items2.ItemsViewHandler2<Microsoft.Maui.Controls.ReorderableItemsView>.OnCreatePlatformView (Unknown Source:0)
Microsoft.Maui.Handlers.ViewHandler.OnCreatePlatformElement (Unknown Source:0)
Microsoft.Maui.Handlers.ElementHandler.CreatePlatformElement (Unknown Source:0)
Microsoft.Maui.Handlers.ElementHandler.SetVirtualView (Unknown Source:0)
Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.Controls.ReorderableItemsView,UIKit.UIView>.SetVirtualView (Unknown Source:0)
Microsoft.Maui.Handlers.ViewHandler<Microsoft.Maui.Controls.ReorderableItemsView,UIKit.UIView>.SetVirtualView (Unknown Source:0)
Microsoft.Maui.Controls.Element.SetHandler (Unknown Source:0)
Microsoft.Maui.Controls.Element.set_Handler (Unknown Source:0)
Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler (Unknown Source:0)
Microsoft.Maui.Platform.ElementExtensions.ToHandler (Unknown Source:0)
Microsoft.Maui.Platform.ElementExtensions.ToPlatform (Unknown Source:0)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewcollectionview-cv2p/2Work that is important, but is currently not scheduled for releaseWork that is important, but is currently not scheduled for releasepartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/ioss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done