Display problem with iOS

Hello,


Following this example, i have display problem in iOS but not in Android. Android work perfectly, but in iOS lines in the popup are empty (except the sfbusyindicator where they are all visible).


My code ( PopupStatusModel  implement INotifyPropertyChanged )



   private void PopulatePopUp()

        {

            popuplistView = new SfListView() { ItemSpacing = 5 };

            popuplistView.WidthRequest = 450;

            popuplistView.ItemTemplate = new DataTemplate(() =>

            {

                ViewCell viewCell = new ViewCell();

                var grid = new Grid() { RowSpacing = 1 };

                grid.ColumnDefinitions.Add(new ColumnDefinition());

                grid.ColumnDefinitions.Add(new ColumnDefinition());

                grid.ColumnDefinitions.Add(new ColumnDefinition());

                var StatusImage = new SfBusyIndicator()

                {

                    HorizontalOptions = LayoutOptions.Center,

                    HeightRequest = 50,

                    AnimationType = AnimationTypes.Cupertino

                };

                StatusImage.SetBinding(SfBusyIndicator.IsVisibleProperty, new Binding("BusyStatus"));

                var StatusText = new Label()

                {

                    HeightRequest = 50,

                    HorizontalTextAlignment = TextAlignment.Start,

                    LineBreakMode = Xamarin.Forms.LineBreakMode.NoWrap,

                    FontSize = Font.SystemFontOfSize(NamedSize.Medium).FontSize,

                };

                StatusText.SetBinding(Label.TextProperty, new Binding("textStatus"));

                var StatusNumber = new Label()

                {

                    HeightRequest = 50,

                    HorizontalTextAlignment = TextAlignment.Start,

                    FontSize = Font.SystemFontOfSize(NamedSize.Medium).FontSize,

                };

                StatusNumber.SetBinding(Label.TextProperty, new Binding("numberStatus"));

                grid.Children.Add(StatusImage, 0, 0);

                grid.Children.Add(StatusText, 1, 0);

                grid.Children.Add(StatusNumber, 2, 0);

                viewCell.View = grid;

                return viewCell;

            });

            listePop = new ObservableCollection<PopupStatusModel>();

            PopupStatusModel item1 = new PopupStatusModel() { BusyStatus = true, textStatus = "xyz", numberStatus = "xyz" };

            PopupStatusModel item2 = new PopupStatusModel() { BusyStatus = false, textStatus = " xyz ", numberStatus = " xyz " ) };

        PopupStatusModel item3 = new PopupStatusModel() { BusyStatus = false, textStatus = " xyz ", numberStatus = " xyz " };

        PopupStatusModel item4 = new PopupStatusModel() { BusyStatus = false, textStatus = " xyz ", numberStatus = " xyz " };

        PopupStatusModel item5 = new PopupStatusModel() { BusyStatus = false, textStatus = " xyz ", numberStatus = " xyz " };

        listePop.Add(item1); listePop.Add(item2); listePop.Add(item3); listePop.Add(item4); listePop.Add(item5);


            popuplistView.ItemsSource = listePop;

            popupLayout.PopupView.ContentTemplate = new DataTemplate(() =>

            {

            return popuplistView;

        });

            popupLayout.Closing += PopupLayout_Closing;

            popupLayout.Show();

        }


2021-10-17_09-43-33-.png


5 Replies

SV Suja Venkatesan Syncfusion Team October 18, 2021 02:57 PM UTC

Hi gregroy, 

Thank you for contacting Syncfusion support. 

Currently we are validating the provided code snippet. We will update you the further details on or before October 20, 2021. We appreciate your patience until then. 

Regards, 
Suja. 



SV Suja Venkatesan Syncfusion Team October 20, 2021 03:31 PM UTC

Hi Gregroy, 

Sorry for the inconvenience caused. 

We would like to let you know that we are able to reproduce the issue in our end. We have forwarded this issue to development team. We will update the further detail on or before October 22, 2021. We appreciate your patience until then. 

Regards, 
Suja. 




GR gregory October 20, 2021 06:26 PM UTC

Thank you for your feedback.



SV Suja Venkatesan Syncfusion Team October 21, 2021 06:52 AM UTC

Hi Gregory, 

Thanks for the update.  

As promised we will update the further details on October 22, 2021. We appreciate your patience until then.  

Regards, 
Suja. 



SV Suja Venkatesan Syncfusion Team October 22, 2021 05:29 PM UTC


Hi Gregory, 

Thanks for your patience. 

We have checked the reported issue in our end. This issue occurs due to setting FontSize property as “ Font.SystemFontOfSize(NamedSize.Medium).FontSize”. We have checked by setting this property to label in Xamarin.Forms , the text for the label not getting display in iOS. Please find the modified sample from the following link. 


Please have a look at this sample and let us know if you have any concerns in this. 

Regards, 
Suja. 


Loader.
Up arrow icon