1
votes

I have an existing Xamarin Forms iOS app, that I want to rebuild in order to fix some issues. I update my Visual Studio for Mac and updates my NuGet packages. The Xamarin.Forms package is upgraded to version 2.4.0.74863. I compile the app, and everything works, except that ListViews gets an extra margin on the left side. The yellow area indicates this.

enter image description here

The same Android Xamarin Forms app does not have this extra margin.

Is this a known Xamarin Forms/iOS issue? And is there a workaround to solve this issue?

1
It looks like the default display of the table view in iOS, see here:developer.apple.com/library/content/referencelibrary/… - Kevin Li
@KevinLi Appears to be correct. And if you look at various Apple iOS apps that use a ListView, you see the same uneven margin. It's even in many screenshots in Apple's Human Interface Guidelines. https://developer.apple.com/design/human-interface-guidelines/ios/views/tables/ - DBro

1 Answers

2
votes

Seems like an issue with Xamarin.Forms for iOS introduced in Xamarin.Forms version 2.4.0.74863

It is an issue only on iOS 11.

See https://bugzilla.xamarin.com/show_bug.cgi?id=60636