0

ちょっと変わった質問なので、スクリーンレコーディングを添付しました...

ビデオ : https://www.dropbox.com/s/3aaefixsk8eejln/Error.mov (透かしの先を見てください!)

私の問題は、アプリケーションでユーザーが「プレビュー」ビューで画像を確認しているときに、画像が選択されるたびに画像がタッチされたオーバーレイを受け取り、タッチしても何も起こらないため、ユーザーを混乱させる可能性があることです。

できればこれを無効にしたいのですが..

以下は、画像がどのように表示されるかのサンプルコードです..

 - (void)setReviewImages
{
    continueButtonDisabled = YES;
    downloadedImageCount = 0;

    NSArray *reviewViews = scrollView.subviews;
    for (IMReviewView *reviewView in reviewViews) {
        [reviewView removeFromSuperview];
    }

    NSUInteger photoCount = [[IMLocalUser localUser] cachedPhotoCount];
    if ( nPageNum == 0 ){
        for (NSUInteger i = 0; i < photoCount; i++) {

            CGRect frame;
            frame.origin.x  = scrollView.frame.size.width * i;
            frame.origin.y  = 65;
            frame.size      = CGSizeMake(scrollView.frame.size.width, 327.0f);

            IMReviewView *subview = [[IMReviewView alloc] initWithFrame:frame];
            subview.delegate = self;
            subview.photo = [[IMLocalUser localUser] cachedPhotoAtIndex:i];
            [scrollView addSubview:subview];

            scrollView.showsHorizontalScrollIndicator = NO;
            scrollView.contentSize = CGSizeMake(scrollView.frame.size.width * i, scrollView.frame.size.height);

            UILabel *headingLabel = [[UILabel alloc] initWithFrame:CGRectMake(12, 20, 300, 30)];
            [self.view addSubview:headingLabel];


            headingLabel.text = @"Time To Preview!";
            headingLabel.textColor = [UIColor blackColor];
            headingLabel.textAlignment = UITextAlignmentCenter;

            headingLabel.textAlignment = NSTextAlignmentCenter;
            headingLabel.tag = 10;
            headingLabel.backgroundColor = [UIColor clearColor];
            headingLabel.font = [UIFont boldSystemFontOfSize:26.0f];
            headingLabel.hidden = NO;
            headingLabel.highlighted = YES;
            headingLabel.highlightedTextColor = [UIColor blackColor];
            headingLabel.lineBreakMode = YES;
            headingLabel.numberOfLines = 0;
        }
4

1 に答える 1

0

サブビューIMReviewViewがあるように思えます。UIButtonその場合は、そのadjustsImageWhenHighlightedプロパティをに設定してみてくださいNO

于 2013-06-15T21:52:15.700 に答える