tiger4589/Xamarin.Forms-CardView

Not Working in iOS 10.3

Opened this issue · 3 comments

Hi there,

This library doesn't work in iOS 10.3, here is my code

<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
	xmlns="http://xamarin.com/schemas/2014/forms"
	xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
	xmlns:cardView="clr-namespace:CardView;assembly=CardView"
	x:Class="Housecode.MainPage">
    <ContentPage.Content>
		<StackLayout Padding="20" Margin="0">
            <cardView:CardView
				x:Name="card1"
				HorizontalOptions="Start"
				CardViewHeightRequest="-1"
				BackgroundColor="White"
				CardViewHasShadow="true">
                <cardView:CardView.CardViewContent>
                    <StackLayout Orientation="Vertical" Padding="5, 2, 5, 2">
                        <Label Text="I am a label, inside a StackLayout inside the CardView Content"></Label>
                        <Label Text="I may not look nice, but I don't have all my properties set."></Label>
                    </StackLayout>
                </cardView:CardView.CardViewContent>
            </cardView:CardView>
            <cardView:CardView
            	x:Name="card2"
            	HorizontalOptions="Start"
				CardViewHeightRequest="-1"
            	BackgroundColor="Silver"
            	CardViewHasShadow="true">
                <cardView:CardView.CardViewContent>
                    <StackLayout Orientation="Vertical" Padding="5, 2, 5, 2">
                        <Label Text="What about an image?"></Label>
                        <Image Source="icon.png"></Image>
                    </StackLayout>
                </cardView:CardView.CardViewContent>
            </cardView:CardView>
        </StackLayout>
    </ContentPage.Content>
</ContentPage>

and here is the output
https://prnt.sc/f9lj49

Thanks,
Cahyo

Also doesn't work on iOS 10.3.1.
Any help on this?

Hello,

My problem is that I can't test on iOS since I don't have a MAC anymore.
If you feel you can fork this repo and build on MAC and test, please be my guest.

Anyone got CARDVIEW working on IOS?