I had a problem creating a multi-page PDF file. I am using NSMutableData to store PDF data. When I draw a new page using the following code
CGContextSetRGBFillColor(context, 0.0, 0.0, 0.0, 1.0); ** Error Line **
UIGraphicsBeginPDFPageWithInfo (CGRectMake (0, 0, 595, 841), zero);
[self drawPageAtIndex:self.numberOfPages+1 inRect:CGRectMake(0, 0, pageWidth, pageHeight)]; [self drawBorder];
It shows me the following error on the console
<Error>: replacing +/-infinity with -2147483648. <Error>: replacing +/-infinity with 2147483647. <Error>: replacing +/-infinity with -2147483648. <Error>: replacing +/-infinity with 2147483647. <Error>: replacing +/-infinity with -2147483648. <Error>: replacing +/-infinity with 2147483647. <Error>: replacing +/-infinity with -2147483648. <Error>: replacing +/-infinity with 2147483647.
Please help me solve this problem.
it says that major graphical magazines are confusing values, but I don't get permission to error Thank you.
source share