Closed zhw511006 closed 10 years ago
Interesting. Seems to be a problem when running on the phone. Not sure when I introduced that since I'm running this on a phone in another app. I'll take a look and see what went wrong.
Ok, figured it out. I must not have tested the layout when it displays only a single cell per row. The logic has been corrected and everything should be working now.
Good work!
when I first ran this demo, I get this error.
Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 222.5]'
How to fixe this? Thx!