在Xlform庫(kù)中,作者已經(jīng)寫(xiě)好的各類的cell,左邊的標(biāo)題控制項(xiàng)都是左對(duì)齊,右邊的控制項(xiàng)都是右對(duì)齊的。但我現(xiàn)在需要右邊的控制也要左對(duì)齊,如下圖:
我所用到的cell代碼為:
row = [XLFormRowDescriptor formRowDescriptorWithTag:kBirthday rowType:XLFormRowDescriptorTypeDate title:@"生日"];
[row.cellConfig setObject:[UIColor blackColor] forKey:@"detailTextLabel.textColor"];
row.value = [NSDate intervalToDate:userInfo.birthday.floatValue/1000 format:@"yyyy-MM-dd"];
[section addFormRow:row];
我已經(jīng)對(duì)日期的顯示框(detailTextLabel)做了文字顏色的處理,但是我不知道如何對(duì)它做位置的設(shè)定。請(qǐng)各位大神賜教,謝謝! !