LoginSignup
0
0

More than 1 year has passed since last update.

[iOS]UIパーツの領域変更

Last updated at Posted at 2022-01-11

・UILabelなどパーツの領域変更

UILabel *valueText;
CGFloat x = 0;    //  左上座標X
CGFloat y = 0;    //  左上座標Y
CGFloat width = 100; // 幅
CGFloat height= 100; // 高さ

valueText.frame =  CGRectMake( x,y,width,height );

https://developer.apple.com CGRectMake

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0