0

This is my ViewController:

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.imageView.image = self.image;
    self.scrollView.contentSize = self.imageView.image.size;
    self.imageView.frame = CGRectMake(0, 0, self.imageView.image.size.width, self.imageView.image.size.height);   
    self.title = [self.photo objectForKey:FLICKR_PHOTO_TITLE];
    self.scrollView.delegate = self;
}

- (void)viewDidAppear:(BOOL)animated
{
    [self.scrollView flashScrollIndicators];
    self.scrollView.showsHorizontalScrollIndicator = YES;
}

But it didn't show anything. I already checked out several same questions in here and tried all the possible solutions, but none worked.

4

1 回答 1

1

我知道这是一个旧线程,但我遇到了它,所以......

水平或垂直滚动​​视图指示器仅在内容大于滚动视图时显示。因此,如果您的完整图像已经显示,则没有指示符。

于 2013-02-11T16:23:12.093 回答