ios - Ends of lines getting truncated on iPhone ( EDIT : end of line justification) -
when use .txt file in app (even when fix as can) lines @ end truncated. want text reach end of line (all way right side of screen, first line) . should use type of file? if so, which? , if not, how words reach end of line?
thanks
p.s. cleantxt doesnt fix problem
i want
if interpret question correctly (via example), not question of truncation question of justification. want "full justification" i.e. text stretching left right insets text appears rectangular block of text.
if yes , using uitextview then:
for ios 6 , earlier uitextview *textview = @""; // replace property representing text .txt file textview.textalignment = nstextalignmentjustified;
for ios 7+ (above deprecated) unfortunately need either use coretext or uiwebview. see post justified alignment in uitextview
Comments
Post a Comment