iOS SDK: Moving the button into the center of screen by code

前端 未结 6 1680

I want to move a button to the center of the screen by code. I saw somewhere it is just few lines of code, but could not find them.

6条回答
  •  天涯浪人
    2021-01-05 01:37

    There are some ways to do it without writing any code. If you you want to try to place the button into the centre of screen by using interface settings, you can view my clip.

提交回复
热议问题