FluentLayout / Cirrious.FluentLayout

FluentLayout for Xamarin.iOS - sample uses MvvmCross
Microsoft Public License
148 stars 54 forks source link

VerticalStackPanelConstraints no longer works in iOS13. #57

Open MaxxDelusional opened 4 years ago

MaxxDelusional commented 4 years ago

The constraints that are returned cause my content inside of the parent to no longer be visible.

Gaisuru commented 4 years ago

Are you using it inside a UIScrollView?

MaxxDelusional commented 4 years ago

Yes I am. The same code works fine in iOS12, but it breaks in iOS13.

Gaisuru commented 4 years ago

So, the issue is a change in iOS 13, not the library. iOS 13 now includes a indicator view as the first child in View.Subviews. So you can not just pass view.subviews anymore. You need to create a list of the views you are adding and then pass that in.

Gaisuru commented 4 years ago

We are working on updating the docs and examples to reflect this.

MaxxDelusional commented 4 years ago

Fair enough. I'll look forward to the updated docs.