Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Two picker added in single layout issue occurred in IOS but working fine in Android

$
0
0

HI All,

I am new to Xamarin.Forms. I tried a sample application by using two picker in xaml page.

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
                       xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
                       x:Class="Sample">
<StackLayout>
  <Label Text="Picker1"/>
  <Picker
    x:name="Pick1"/>
   <Label Text="Picker2"/>
  <Picker
    x:Name="pick2"/>
</StackLayout>
</ContentPage>

The above code is working fine in Android emulator, but crashed the application in IOS simulator.
Please give suggestion/solution if you have already faced this kind of problem.


Viewing all articles
Browse latest Browse all 58056

Trending Articles