Drag separator to resize UIViews

后端 未结 4 1795
旧时难觅i
旧时难觅i 2021-02-10 14:15

What would be to the best way of implementing an interface which consists of UIViews which are separated by a line, and the line can resize the views?

In it\'s simplest

4条回答
  •  轮回少年
    2021-02-10 14:47

    simplest way is to add gesture recognizer to your views and resize them according to the pan.

提交回复
热议问题