わたしのための逆引きobjective-c

ブログ名のとおり、わたしの勉強したことをまとめていますので、他の方は分かりづらいかもしれません

Button --ボタン--

ボタンの表示

ボタンのためのメソッドを作る テキストボタンの生成 - (UIButton*)makeButton:(CGRect)rect text:(NSString*)text tag:(int)tag { UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [button setFrame:rect]; [button setTitle:text …

ボタンの種類

------------ ボタンの種類 ------------ UIButtonTypeRoudedRect UIButtonTypeContactAdd UIButtonTypeDetailDisclosure UIButtonTypeInfoDark UIButtonTypeInfoLight