In the Xlform library, the author has written various types of cells. The title controls on the left are all left-aligned, and the controls on the right are right-aligned. But now I need the controls on the right to be left aligned, as shown below:
The cell code I used is:
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];
I have processed the text color of the date display box (detailTextLabel), but I don’t know how to set its position. Please enlighten me, thank you! !