...
|
...
|
@@ -43,10 +43,16 @@ |
|
|
bg.center = self.view.center;
|
|
|
bg.backgroundColor = [UIColor whiteColor];
|
|
|
CGRect frame = bg.frame;
|
|
|
frame.origin.y = 170;
|
|
|
CGFloat bgHeight = 170;
|
|
|
if ([[UIScreen mainScreen] bounds].size.height < 667) {
|
|
|
bgHeight = 100;
|
|
|
}
|
|
|
frame.origin.y = bgHeight;
|
|
|
bg.frame = frame;
|
|
|
bg.userInteractionEnabled = YES;
|
|
|
|
|
|
|
|
|
|
|
|
UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 50, 280, 19)];
|
|
|
titleLabel.font = [UIFont systemFontOfSize:18];
|
|
|
titleLabel.textAlignment = NSTextAlignmentCenter;
|
...
|
...
|
|