apparelvur.blogg.se

Tableau on mac m1
Tableau on mac m1












Public override void WillDisplayHeaderView(UITableView tableView, UIView headerView, nint section) Public MyModelRenderer(TableView model) : base(model) Public class MyModelRenderer : TableViewModelRenderer

tableau on mac m1

MyModelRenderer render = new MyModelRenderer(formsTableView) Var formsTableView = Element as TableView Protected override void OnElementChanged(ElementChangedEventArgs e) Internal class MyTableViewRenderer : TableViewRenderer If problem still exists you can create custom renderer for TableView and override the logic in WillDisplayHeaderView method, because I see the textLabel is no longer available after iOS14, for change the label text color, we can use UILabel appearance, see here. I strongly recommend you to update XF to the latest version(5.xxx) to see if problem persists. Have you tried it on a None-M1 mac ? What happened ? I don't think that should cause this, should it?ĭo you mean it only works on iPhone/iPad (real device) but not work on Mac M1(simulate) ? Has anyone else seen this? The only thing I see is that Apple lists "TextLabel" in UITableViewHeaderFooterView as deprecated. If (sectionHeaderTextColor != Color.Default)ħ4> = sectionHeaderTextColor.ToUIColor() Ĭhecking, a difference between the TableView that works and the ones that fail: TableSection has both a "Title" and a "TextColor".

tableau on mac m1

Var sectionHeaderTextColor = ((int)section) If (headerView is UITableViewHeaderFooterView header) There may be a hint: I finally looked very close at a crash report, and found a reference to a line of code in XF:ĭ:\a\1\s\\Renderers\TableViewModelRenderer.cs:74įrom GitHub, this appears to be (in context): public override void WillDisplayHeaderView(UITableView tableView, UIView headerView, nint section) Ironically, looking closer, I reminded myself I have a very complicated table view that DOES work. I suppose I could have a bug there, but it does work great in iOS and iPadOS. I was curious to see if the Xamarin.Forms app I've been working on (XF 4.8) would run on Mac with M1, now that TestFlight is available.Īlmost flawless, except for at least two different pages I load that have a XF TableView.














Tableau on mac m1