devinross / tapkulibrary

tap + haiku = tapku, a well crafted open source iOS framework
http://devinross.com/tapku/documentation
MIT License
3.9k stars 653 forks source link

CALayer position contains NaN exception in TKCalendarMonthView for IOS < 6.0 #225

Closed julianlau closed 11 years ago

julianlau commented 11 years ago

Tried to download the latest source and run the demo with IOS 5.0/5.1, the application terminated with an uncaught exception:

'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 18]'

Its most likely happened in TKCalendarMonthView.m _updateSubviewFramesWithTile method.

This running well on IOS 6.0 though.

Repo steps: Launch demo -> Month Grid Calendar