I mostly finished with my 1st iPhone app, but I'm having one issue I'm having trouble resolving.
I have 3 labels and just below that a single UITextView control. I'm looping through a for statement and outputting the data to the TextView using NSString withFormat method. The problem is I want each part to be left aligned with it's corresponding label above. Each time through the loop I use 2 \n\n and then append the string on the previous so I have a list of data in my TextView. It gets kind of sloppy though. I realize I might be able to use a tableview a bit more effectively for something like this but as far as I can tell you can make tableviews transparent and that's how I have my TextView currently.
Any suggestions?
I have 3 labels and just below that a single UITextView control. I'm looping through a for statement and outputting the data to the TextView using NSString withFormat method. The problem is I want each part to be left aligned with it's corresponding label above. Each time through the loop I use 2 \n\n and then append the string on the previous so I have a list of data in my TextView. It gets kind of sloppy though. I realize I might be able to use a tableview a bit more effectively for something like this but as far as I can tell you can make tableviews transparent and that's how I have my TextView currently.
Any suggestions?