聚合云播

排序

诡风怪谈剧情简介

,心理出现问题的莉兹认为这是因为女儿的诞生才带来的恶劣现象,但是现实是为了保护家人,莉兹必须要保持清醒自律,同时,她也得和丈夫伊萨克一起面对来自荒野深处的邪恶。"];// [self.view addSubview:[self addLabelWithMaxWidth:100 withText:text1[0]]];//// [self.view addSubview:[self addLabelWithMaxWidth:200 withText:text1[1]]];//// [self.view addSubview:[self addLabelWithMaxWidth:300 withText:text1[2]]];//// [self.view addSubview:[self addLabelWithMaxWidth:400 withText:text1[3]]];//// [self.view addSubview:[self addLabelWithMaxWidth:50 withText:text1[4]]];//// [self.view addSubview:[self addLabelWithMaxWidth:100 withText:text1[5]]];//// [self.view addSubview:[self addLabelWithMaxWidth:300 withText:text1[6]]];//// [self.view addSubview:[self addLabelWithMaxWidth:50 withText:text1[7]]];//// [self.view addSubview:[self addLabelWithMaxWidth:500 withText:text1[8]]];}- (void)didReceiveMemoryWarning { [super didReceiveMemoryWarning]; // Dispose of any resources that can be recreated.}- (UILabel *)addLabelWithMaxWidth:(CGFloat)maxWidth withText:(NSString *)text{ UILabel *labe = [UILabel new]; labe.textAlignment = NSTextAlignmentCenter; labe.numberOfLines = 0; labe.lineBreakMode = NSLineBreakByCharWrapping; labe.textColor = [UIColor blackColor]; labe.font = [UIFont systemFontOfSize:20]; labe.text = text; CGSize maxSize = CGSizeMake(maxWidth, MAXFLOAT); CGSize size = [labe sizeThatFits:maxSize]; labe.frame = CGRectMake(0, 0, size.width, size.height); return labe;}@end