Yes, you can display the selected text using CGContextSetDrawingMode(CGContextRef, CGTextDrawingMode)
, although you probably need to adjust some numbers and colors to make them look good.
It seems logical to use kCGTextFillStroke, but this can lead to a stroke that suppresses filling. If you stroke and then fill, as in the block below, you will get a visible outline behind the text to be read.
CGContextRef context = UIGraphicsGetCurrentContext(); CGPoint point = CGPointMake(0,30); CGFloat fontSize = (3 * MKRoadWidthAtZoomScale(zoomScale)); UIFont *font = [UIFont fontWithName:@"Helvetica-Bold" size:fontSize];
source share