search

Home  >  Q&A  >  body text

objective-c - ios Masonry使用中如何获取具体btnsView.mas_bottom的float值?

问题叙述

使用开源库Masonry
我希望能够拿到某一个视图mas_top mas_bottom等的float数值,如何获取?

延伸

在复杂布局cell中使用Masonry的例子?,谢谢。

ringa_leeringa_lee2844 days ago663

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 13:40:27

    Reference it in the block method that adds constraints, and then you can get it. You can see the References section in the README

    reply
    0
  • Cancelreply