我已经以编程方式将textView添加到视图中
@implementation viewController {
UITextView *textView;
}
- (void)viewDidLoad
{
[super viewDidLoad];
for (int i = 0; i < 4; i++) {
textView = [[UITextView alloc] initWithFrame:textViewFrame];
textView.text = [self.text objectForKey:[arrayKeys objectAtIndex:i]];
[self.scrollView addSubview:textView];
}
}
我这样说,所以我可以在每个textView的滚动视图中有4页。但是,当用户打开视图控制器时,我怎么能使用flashScrollIndicators?