self.textView = [[[UITextView alloc] initWithFrame:CGRectMake(0, 0, 320, 416)]autorelease];
self.textView.textColor = [UIColor whiteColor];
self.textView.font = [UIFont fontWithName:@"Georgia-BoldItalic" size:14];
self.textView.backgroundColor = [UIColor colorWithHue:2.0/12 saturation:2.0 brightness:4.0/10 alpha:1.0];
[self.textView flashScrollIndicators];
self.textView.showsHorizontalScrollIndicator = YES;
self.textView.scrollEnabled = YES;
self.textView.layer.borderWidth = 1;
self.textView.layer.borderColor = [[UIColor whiteColor] CGColor];
self.textView.layer.cornerRadius = 1;
self.textView.textAlignment = UITextAlignmentCenter;
什么我为在这里失踪,为的UITextView显示滚动条或者使TextView的scrollenabled。UITextView中没有显示scrollindicator
欣赏帮助。
您的textview滚动只是没有显示指标,或者根本不滚动。 – NJones 2012-03-10 19:48:22