objective c - How to wrap the data in a label of a cell in iphone? -
im passing huge data label of cell.so need wrap line.i tried below methods ------- cell.textlabel.linebreakmode = uilinebreakmodewordwrap; cell.textlabel.linebreakmode =uilinebreakmodetailtruncation;by truncating label no use.in way problem didnt solved.i want data displayed in same font size also.if label of cell containg less data,the font size different , if label of cell containing more data,the font size small.please me out.....thanks in advance
you can find uilabels expected size programetically , appply word wrap..please refer this.uilabel size according text
Comments
Post a Comment