Objective-c - How to modify the spatial position in the original type of cell in XLForm?
为情所困
为情所困 2017-05-02 09:37:14
0
0
822

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! !

为情所困
为情所困

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template