This comment has been removed by the author.
CGContextSetTextDrawingMode(UIGraphicsGetCurrentContext(), kCGTextFill); [[UIColor blackColor] setFill]; // This is the default [@"Page 1" drawAtPoint:CGPointMake(480.0, 10.0) withAttributes:@{NSFontAttributeName:[UIFont fontWithName:@"Helvetica" size:6] }]; //CGContextShowTextAtPoint(UIGraphicsGetCurrentContext(), 480.0, 10.0, "Page 1", 6);
This comment has been removed by the author.
ReplyDeleteCGContextSetTextDrawingMode(UIGraphicsGetCurrentContext(), kCGTextFill);
ReplyDelete[[UIColor blackColor] setFill]; // This is the default
[@"Page 1" drawAtPoint:CGPointMake(480.0, 10.0)
withAttributes:@{NSFontAttributeName:[UIFont fontWithName:@"Helvetica"
size:6]
}];
//CGContextShowTextAtPoint(UIGraphicsGetCurrentContext(), 480.0, 10.0, "Page 1", 6);