When dynamically create a button to set frame
button.frame = CGRectMake (100,100,100,100);
The above code sets the position and size, but I do not want to set the size of the button you want to use the default size should be how to write ah.
Reply:
Nobody Dinga
Reply:
. Center =
Reply:
[Button setOrigin: CGPointMake (100,100)];
I accept scores
No comments:
Post a Comment