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 enter image description here

i want

enter image description here

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

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -