Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 XLForm cocoapod,并且试图弄清楚如何以编程方式在 XLForm 中选择 XLFormRowDescriptor。谢谢!
您的 UIViewController 需要是 XLFormViewController 的子类。XLFormViewController 上有一个属性“form”。这个“表单”是 XLFormDescriptor 类型的,它有多种方法可以在表单上检索 XLFormRowDescriptor。
formRowWithTag formRowAtIndex formRowWithHash