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
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