You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New to this whole game, but here we go. I have 3 storyboards, 3.5, 4" and iPad. Works flawlessly in simulator (as it always has), but recently I added that iPad storyboard, for more a universal app. One tester reported that it repeats "done" over and over.
I tried returning to default, no luck. Keep in mind I took over our app project for our forum. This is how the previous author implemented it into our app.
// MainViewController.h
//
// Created by Chris on 3/20/2013.
// Copyright (c) 2013 Chris. All rights reserved.
//
If anybody has any ideas why it keeps calling done, I'd appreciate it.
UPDATE:
How our forum is set up, we have ads running, unless your an advanced member. So the status bar overlay is registering that web load, over and over again. Seeing how its not a direct code issue we can mark this as solved.
However, if somebody has an idea on how to get it to distinguish between a forum web page and ads, that would be helpful.
The text was updated successfully, but these errors were encountered:
I added a bit in - (void)webViewDidFinishLoad:(UIWebView *)webview which stalls the webView load until everything is done loading. So with this implemented, no more rapid fire "Done" messages. Heres what I used.
New to this whole game, but here we go. I have 3 storyboards, 3.5, 4" and iPad. Works flawlessly in simulator (as it always has), but recently I added that iPad storyboard, for more a universal app. One tester reported that it repeats "done" over and over.
I tried returning to default, no luck. Keep in mind I took over our app project for our forum. This is how the previous author implemented it into our app.
// MainViewController.h
//
// Created by Chris on 3/20/2013.
// Copyright (c) 2013 Chris. All rights reserved.
//
import "PullToRefreshView.h"
import <QuartzCore/QuartzCore.h>
import "MTStatusBarOverlay.h"
@interface MainViewController : UIViewController <PullToRefreshViewDelegate, UIWebViewDelegate, UIGestureRecognizerDelegate, MTStatusBarOverlayDelegate, UIScrollViewDelegate> {
}
@Property (nonatomic, retain) UIImageView *splash35Inch;
@Property (nonatomic, retain) UIImageView *splash4Inch;
@Property (nonatomic, retain) UIImageView *splashPad;
@Property (nonatomic, retain) UIImageView *splashPadLandscape;
@EnD
///////////////////////////////////////////////
// MainViewController.m
//
// Created by Chris on 3/20/2013.
// Copyright (c) 2013 Chris. All rights reserved.
//
import "MainViewController.h"
//Random app code//
[webView goBack];
[overlay postMessage:@"Go Back" duration:1 animated:YES];
}
[webView goForward];
[overlay postMessage:@"Go Forward" duration:1 animated:YES];
}
-(void)pullToRefreshViewShouldRefresh:(PullToRefreshView *)view {
[(UIWebView *)[self.view viewWithTag:999] reload];
[overlay postMessage:@"Reloading" duration:1 animated:YES];
}
{
NSLog(@"Done!" );
[(PullToRefreshView *)[self.view viewWithTag:998] finishedLoading];
[overlay postFinishMessage:@"Done!" duration:1 animated:YES];
[UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
}
[UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
}
If anybody has any ideas why it keeps calling done, I'd appreciate it.
UPDATE:
How our forum is set up, we have ads running, unless your an advanced member. So the status bar overlay is registering that web load, over and over again. Seeing how its not a direct code issue we can mark this as solved.
However, if somebody has an idea on how to get it to distinguish between a forum web page and ads, that would be helpful.
The text was updated successfully, but these errors were encountered: