[UIKit學習]03.關於UILable

代碼建立UILabelspa

    UILabel *label = [[UILabel alloc] init];it

    label.text = @"單肩包";ab

    label.frame = CGRectMake(0, 50, 50, 20);

    label.font = [UIFont systemFontOfSize:11];

    label.textAlignment = NSTextAlignmentCenter;

相關文章
相關標籤/搜索