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.
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.