C1CheckBox is not rendering on iOS

Posted by: merickson91 on 15 May 2018, 7:40 am EST

  • Posted 15 May 2018, 7:40 am EST

    I just migrated from Xuni to the most recent C1 libraries. Made all the namespace and class name changes. The Calendar and Guage controls are working fine, but the C1CheckBox control isn't rendering. Any ideas on other things to check? thanks!
  • Replied 16 May 2018, 2:15 am EST

    This is a guess, but it's possible you need to add a call into the AppDelagate in your iOS project to initialize the renderer:

            public override bool FinishedLaunching(UIApplication app, NSDictionary options)

    Let me know if that fixes it.

  • Replied 17 May 2018, 4:15 am EST

    Yes, I had that line in my AppDelegate. What I'm finding is the C1CheckBox is not visible due to horizontal option in Xaml.

    So, the Xuni controls worked fine.

    <StackLayout Orientation="Horizontal"
    <Label Text="Select all"
    FontSize="Small" />
    <core:C1CheckBox IsChecked="True" Margin="0"></core:C1CheckBox>

    That shows "Select all" at the beginning of the line with the checkbox after it with a great deal of space (padding or margins or something) almost to the center of the page.

    If I add
    to that label, the label moves to the right of the page and the checkbox is nowhere to be seen.

    If I add
    to the CheckBox, it's no longer visible.
  • Replied 17 May 2018, 5:01 am EST

    I can reproduce it too. It looks like there's some kind of bug with how it behaves in the layout, and as I try to work around it I'm noticing some other small issues with it's content sizing. We'll take a look.

  • Replied 31 May 2018, 12:28 am EST

    Hi Alise

    Build 3.0.20181.282 should have a fix for your Checkbox issue, and it should be available today on nuget.org. Let me know if you see any issues.


Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels