xmartlabs / XLForm

XLForm is the most flexible and powerful iOS library to create dynamic table-view forms. Fully compatible with Swift & Obj-C.
MIT License
5.77k stars 953 forks source link

Segmented control tintColor #1056

Open zbencz3 opened 5 years ago

zbencz3 commented 5 years ago

I am using XLForm (4.0.0) and I need to set the tint color of a row with a segmented control on iOS 13.

let row = Row(tag: myTag,
  rowType: XLFormRowDescriptorTypeSelectorSegmentedControl,
  title: "")

How can I set the tint color for this row? The following does not seem to work. row.cellConfigAtConfigure["segmentedControl.tintColor"] = UIColor.orange

Thanks.