这是我当前的代码,
CGRect screenRect = [[UIScreen mainScreen] bounds];
CGRect *FullViewRect = NULL;
if (screenRect.size.height == 568.0f) // iPhone 5
{CGRect FullViewRect = CGRectMake(0, 0, 320, 568);}
else
{CGRect FullViewRect = CGRectMake(0, 0, 320, 480);}
UILabel *Count3 = [[UILabel alloc] initWithFrame: FullViewRect];
Count3.backgroundColor = [UIColor blueColor];
[self.view addSubview:Count3];
但是 Count3 不可见?没有给出错误,但 FullViewRect 没有价值。