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

SVGKImage.ImageWithData is crashing in iPhone (Real device) #7

Open
potterrone12 opened this issue Aug 21, 2018 · 0 comments
Open

SVGKImage.ImageWithData is crashing in iPhone (Real device) #7

potterrone12 opened this issue Aug 21, 2018 · 0 comments

Comments

@potterrone12
Copy link

Following lines of code is working in iPhone simulator
but when run in real device (iPhone) getting crash.

// convert sting to SVGKImage
var dataForSvg = NSData.FromString(svgString);
SVGKImage image = SVGKImage.ImageWithData(dataForSvg);

Error:
Foundation.MonoTouchException has been thrown
Objective-C exception thrown. Name: NSInvalidArgumentException Reason: +[NSCharacterSet SVGWhitespaceCharacterSet]: unrecognized selector sent to class 0x1b4d58380

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

1 participant