Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: invalid numeric value to CoreGraphics API #1

Closed
doguhanokumus opened this issue Oct 4, 2015 · 1 comment
Closed

Error: invalid numeric value to CoreGraphics API #1

doguhanokumus opened this issue Oct 4, 2015 · 1 comment

Comments

@doguhanokumus
Copy link

LMGaugeView causes the following error on xcode 7 release ios9

<Error>: Error: this application, or a library it uses, has passed an invalid numeric value (NaN, or not-a-number) to CoreGraphics API and this value is being ignored.Please fix this problem.
@tbrookin
Copy link

tbrookin commented Oct 5, 2015

I am getting the same message. In my case, it occurs because I was setting numOfDivsions = 0
I don't want the division markers. It looks like this causes a divide by zero error in the first few lines of drawRect:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants