gontovnik / DGRunkeeperSwitch

Runkeeper design switch control
MIT License
1.88k stars 175 forks source link

Can't create switch without titles #44

Closed yakubbaev closed 7 years ago

yakubbaev commented 7 years ago

It fails with error *** Terminating app due to uncaught exception ‘CALayerInvalidGeometry’, reason: ‘CALayer position contains NaN: [nan 15.5]’ As a workaround - create with empty strings ("")

gontovnik commented 7 years ago

Hey, @yakubbaev. Why would you want to create it without any titles?

yakubbaev commented 7 years ago

I've already forgotten why I had to use that - and also I'm not working on that project anymore :)