CheckBox renders as radiobutton in IOS

Mahendra Bisht 0 Reputation points
2024-05-27T00:11:21.29+00:00

CheckBox renders as checkbox in Android. But this appears as radio button in IOS. I am using .NET MAUI for mobile development.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,059 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,646 Reputation points Microsoft Vendor
    2024-05-28T08:15:41.45+00:00

    Hello,

    You can create a ContentView, then add a Button (need remove border) and set contentview's border in it.

    For more detailed code, you can check this Create custom square CheckBox control

    Best Regards,

    Leon Lu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments