0

I have a button on the bottom left corner of the screen that jump up when I change the simulator to 4 inch. Is there a way to keep it fixed to the bottom regardless of the iphone resolution?

4

2 に答える 2

2

If you are using interface builder just select the control and do this:

enter image description here

于 2013-01-04T16:02:00.933 に答える
1

You can set it's frame regarding the screensize like :

MyButton.frame = CGRectMake(10, self.view.frame.size.height -60,100,50);
于 2013-01-04T15:25:52.710 に答える