-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
RoundCornerView does not work.
But it works only in XAML preview.
using Foundation;
using UIKit;
using NControl.iOS;
namespace RoundApp.iOS
{
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
NControlViewRenderer.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
}
}
<?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:local="clr-namespace:RoundApp"
xmlns:nc="clr-namespace:NControl.Controls;assembly=NControl.Controls"
x:Class="RoundApp.RoundAppPage">
<StackLayout HorizontalOptions="Center" VerticalOptions="Center">
<nc:RoundCornerView CornerRadius="10" BackgroundColor="Red" HeightRequest="100" WidthRequest="100" />
</StackLayout>
</ContentPage>
Metadata
Metadata
Assignees
Labels
No labels
