标签位于屏幕的中心(或以下),而iphone 4.3不显示它。 但iOS 5.0的iPhone显示。全部在IB中制作。iOS 4.3在滚动视图上不显示标签
UPD:(代码)
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
self.view.backgroundColor = [UIColor blackColor];
[scroll setContentSize:CGSizeMake(320, 700)];
scroll.frame = CGRectMake(0, 0, 320, 460);
}
return self;
}
将需要更多的细节来帮助你。可能有些代码。 – Popeye 2012-08-06 14:17:33
@Popeye我在IB中放置了Label并编辑了文本。就是这样) – 2012-08-06 14:22:39
你能提供你的IB的截图吗?你是如何做的,因为你给出的东西并不是真的要继续下去。 – Popeye 2012-08-06 14:26:58