Giter Club home page Giter Club logo

Comments (3)

rebeccaXam avatar rebeccaXam commented on July 21, 2024 1

This is caused by the CalendarButtons not being attached to the CalendarButtonRenderer.
Please check if you have called the init

Xamarin.Forms.Init();//platform specific init
XamForms.Controls.iOS.Calendar.Init(); // <--- this should trigger the CalendarButton to be attached to the CalendarButtonRenderer

Also check if the XamForms.Controls.Calendar.iOS.dll is added to your iOS runnable project, in previous version of this package (<v1.0.4) this was not the case.

If this does not help please add this to your iOS runnable Properties/AssemblyInfo.cs:

[assembly:Xamarin.Forms.Platform.iOS.ExportRenderer(typeof(XamForms.Controls.CalendarButton), typeof(XamForms.Controls.iOS.CalendarButtonRenderer))]

from xamforms.controls.calendar.

Magicbjorn avatar Magicbjorn commented on July 21, 2024

I have found a work-around that seems to work. For iOS: if you delete the NuGet package from your .iOS project, and add the ButtonRenderer (and the Assembly in a newly created Properties folder), the problem seems to be fixed.

from xamforms.controls.calendar.

schwickster avatar schwickster commented on July 21, 2024

Thanks rebeccaXam. We already applied that a few weeks ago and it worked.

from xamforms.controls.calendar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.