Para otros que todavía están tropezar con esta pregunta, aquí está cómo hacerlo mediante programación.
crear una subclase UIView y Reemplazar drawRect:
con lo siguiente:
#define PADDING 4.f //give the canvas some padding so the ends and joints of the lines can be drawn with a mitered joint
- (void)drawRect:(CGRect)rect
{
CGContextRef context = UIGraphicsGetCurrentContext();
CGContextSetStrokeColorWithColor(context, [UIColor grayColor].CGColor);
CGContextSetLineWidth(context, 3.f);
CGContextSetLineJoin(context, kCGLineJoinMiter);
CGContextMoveToPoint(context, PADDING, PADDING);
CGContextAddLineToPoint(context, self.frame.size.width - PADDING, self.frame.size.height/2);
CGContextAddLineToPoint(context, PADDING, self.frame.size.height - PADDING);
CGContextStrokePath(context);
}
Esto dibuja una flecha indicadora de valores. Desde aquí se puede cambiar el color, grosor de línea, etc.
Para añadir el indicador de vista a su celular:
#define ACCESSORY_WIDTH 13.f
#define ACCESSORY_HEIGHT 18.f
cell.accessoryView = [[AccessoryIndicatorView alloc] initWithFrame:CGRectMake(self.frame.size.width - ACCESSORY_WIDTH - CELL_PADDING, self.frame.size.height/2 - ACCESSORY_HEIGHT/2, ACCESSORY_WIDTH, ACCESSORY_HEIGHT)];
Pregunta anterior pero no tenía una respuesta satisfactoria todavía. Esto es lo que * realmente * pidió: http://stackoverflow.com/a/35427683/378024 – galambalazs