selva selva - 2 months ago 40
iOS Question

UI Issue with kal calendar for ipad iOS 10

I'm using Kal calendar, which is open source. The issue here is dates are not rendering properly with iOS 10. Please let me know if you have solution or what is causing the issue.

screenshot: https://github.com/klazuka/Kal/issues/106

Thanks

Answer

Seems to be an issue with the system font name. I replaced
UIFont *font = [UIFont boldSystemFontOfSize:fontSize];
with
UIFont *font = [UIFont fontWithName:@"Helvetica" size:fontSize];
in KalTileView to get it working.