search

Home  >  Q&A  >  body text

ios - 如何通过 Interface Builder 设置数组的值


就像上面这张图片中的,假如我有一个 title 数组,我希望能够通过 interface builder 设置数组的值然后在storyboard 中显示出来

PHP中文网PHP中文网2771 days ago478

reply all(3)I'll reply

  • 阿神

    阿神2017-04-18 09:50:18

    Use code to operate and assign values, why do you have to use IB settings

    reply
    0
  • 高洛峰

    高洛峰2017-04-18 09:50:18

    As far as I know, IB cannot do this.

    reply
    0
  • 怪我咯

    怪我咯2017-04-18 09:50:18

    I don’t know much about this model,



    I don’t know if this will work

    Please pay attention to the index and order of the array you pulled out. You can look at the xml code of XIB or storyBoard

    reply
    0
  • Cancelreply