|
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
… global::Xamarin.Forms.Forms.Init ();
SfDataFormRenderer.Init();
LoadApplication (new App ());
… } |
Now, I can see what is the problem.In IOS we need the options VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" added to the SfDataForm.After that, now I can see the SfDataForm in IOS.Regards,Arsenio
Hi, I have de same problem and none of the solutions posted here worked for my case. I have to put the HeightRequest manually.
The data form is inside the main Stacklayout in a Xamarin shell application
Hi Henry,
#Regarding DataForm is not shown inside the Shell in the iOS platform
We suggest you set the HorizontalOptions and VerticalOptions property as FillAndExpand for the StackLayout and Dataform control. Please refer to the following code snippet for your reference.
Code snippet
|
<ContentPage.Content> <StackLayout HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"> <dataForm:SfDataForm x:Name="dataForm" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" DataObject="{Binding ContactsInfo}"/> </StackLayout> </ContentPage.Content> |
Please refer to the tested sample in the following locations.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/DataFormGettingStarted2064527142
Please refer to the following UG documentation for your reference,
UG: https://help.syncfusion.com/xamarin/dataform/getting-started#loading-dataform-inside-stacklayout
Please let us know if you have any concerns.
Regards,
SaiGanesh Sakthivel