文本实现如下的对齐方式,怎样实现最合适呢?
如较少的控件,前提要保证格式
北纬和行驶方向等要对齐
如果用UITextView 如何方便的排版
大家讲道理2017-04-18 09:24:56
An idea: Because the data items are all fixed, you can use UILabel to do it. UILabel is used more often, but this way, it is easier to align and read the data.
巴扎黑2017-04-18 09:24:56
You can use UICollectionView, put UILabel in the cell, align odd numbers to the left, and even numbers to the right. For the class content of each line, the plist file can be read.