OK, in Visual Basic I'd simply add the buttons labels and what not to a Picture Box or some form of group object, that way I center the picture box in the middle of the window, and the content is centered because it's in the (invisible) picture box.
Is there some kind of thing like that that I can use?
Currently I'm doing:
But if I have multiple objects I have to calculate the distance and height of each object and adjust the Y position of each one to get them to be exactly centered, I'd like some kind of control I can add them to.
Any idea's? Thanks.
Is there some kind of thing like that that I can use?
Currently I'm doing:
Code:
[bButton setCenter:(CGPointMake(iWidth/2, (iHeight/2)))];
Any idea's? Thanks.