Hello, SreejithSree-2948
This isse occurs on iOS 15. What is version of Xamarin.Forms in your project? Please update the package to 5.0.0.2244 or higher and test again. The issue will be fixed.
Or you can create a custom renderer to specify a value to the SectionHeaderTopPadding
property.
protected override void OnElementChanged(ElementChangedEventArgs<ListView> e)
{
base.OnElementChanged(e);
if (Control != null)
{
if (UIDevice.CurrentDevice.CheckSystemVersion(15, 0))
Control.SectionHeaderTopPadding = new nfloat(0);
}
}
Similar issue thread, you could refer to: https://github.com/xamarin/Xamarin.Forms/issues/14664#issuecomment-985101722
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.